diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-11-10 20:06:17 +0100 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-11-10 20:06:17 +0100 |
commit | 7c4c646749772aee235ea5b42b6f1a1f2bfe2b51 (patch) | |
tree | a834103e1a06400af2dc7ac55988029123a6921f /core/script_language.cpp | |
parent | 0f3fc930703918ba83b7b83f3ff3849015219a0a (diff) |
Fix GDScript placeholder fallback
Diffstat (limited to 'core/script_language.cpp')
-rw-r--r-- | core/script_language.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/script_language.cpp b/core/script_language.cpp index 5b65da9ef1..496521486e 100644 --- a/core/script_language.cpp +++ b/core/script_language.cpp @@ -563,7 +563,8 @@ Variant PlaceHolderScriptInstance::property_get_fallback(const StringName &p_nam PlaceHolderScriptInstance::PlaceHolderScriptInstance(ScriptLanguage *p_language, Ref<Script> p_script, Object *p_owner) : owner(p_owner), language(p_language), - script(p_script) { + script(p_script), + build_failed(false) { } PlaceHolderScriptInstance::~PlaceHolderScriptInstance() { |