summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2018-11-10 20:06:17 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2018-11-10 20:06:17 +0100
commit7c4c646749772aee235ea5b42b6f1a1f2bfe2b51 (patch)
treea834103e1a06400af2dc7ac55988029123a6921f /core
parent0f3fc930703918ba83b7b83f3ff3849015219a0a (diff)
Fix GDScript placeholder fallback
Diffstat (limited to 'core')
-rw-r--r--core/script_language.cpp3
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() {