summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2019-02-14 02:36:19 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2019-02-14 02:36:19 +0100
commit2f8d1a321aefd70d53318f5b27d61410757fc61b (patch)
tree14143f052f353943a7a2c3429ac2a2ebb06ff7cd /modules/gdscript
parentbe98a6ebbca95225b59570ed67fce962edfd23ec (diff)
Fix exported property values being lost if base GDScript fails to parse
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gdscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp
index 6d85eb3c90..f29432666e 100644
--- a/modules/gdscript/gdscript.cpp
+++ b/modules/gdscript/gdscript.cpp
@@ -483,7 +483,7 @@ bool GDScript::_update_exports() {
placeholder_fallback_enabled = true;
return false;
}
- } else if (!valid || placeholder_fallback_enabled) {
+ } else if (placeholder_fallback_enabled) {
return false;
}