missed ifdef that broke android build
This commit is contained in:
parent
9e745b920f
commit
cc0a7b24e7
|
@ -1779,6 +1779,7 @@ Error GDCompiler::_parse_class(GDScript *p_script, GDScript *p_owner, const GDPa
|
||||||
|
|
||||||
ScriptInstance *si = E->get()->get_script_instance();
|
ScriptInstance *si = E->get()->get_script_instance();
|
||||||
if (si->is_placeholder()) {
|
if (si->is_placeholder()) {
|
||||||
|
#ifdef TOOLS_ENABLED
|
||||||
PlaceHolderScriptInstance *psi = static_cast<PlaceHolderScriptInstance*>(si);
|
PlaceHolderScriptInstance *psi = static_cast<PlaceHolderScriptInstance*>(si);
|
||||||
|
|
||||||
if (p_script->is_tool()) {
|
if (p_script->is_tool()) {
|
||||||
|
@ -1807,8 +1808,9 @@ Error GDCompiler::_parse_class(GDScript *p_script, GDScript *p_owner, const GDPa
|
||||||
//well, tough luck, not goinna do anything here
|
//well, tough luck, not goinna do anything here
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
print_line("RELOAD MEMBERS");
|
|
||||||
GDInstance *gi = static_cast<GDInstance*>(si);
|
GDInstance *gi = static_cast<GDInstance*>(si);
|
||||||
gi->reload_members();
|
gi->reload_members();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue