Browse Source

Fix exported property values being lost if base GDScript fails to parse

Ignacio Etcheverry 6 years ago
parent
commit
2f8d1a321a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/gdscript/gdscript.cpp

+ 1 - 1
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;
 	}