Browse Source

more bugfixes

Juan Linietsky 10 years ago
parent
commit
c940212b89
1 changed files with 2 additions and 0 deletions
  1. 2 0
      modules/gdscript/gd_script.cpp

+ 2 - 0
modules/gdscript/gd_script.cpp

@@ -2034,7 +2034,9 @@ Error GDScript::load_source_code(const String& p_path) {
 	}
 
 	source=s;
+#ifdef TOOLS_ENABLED
 	source_changed_cache=true;
+#endif
 	//print_line("LSC :"+get_path());
 	path=p_path;
 	return OK;