summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-12-07 02:39:51 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-12-07 02:39:51 -0300
commitc940212b8931c0cc9c24984758568c2d2d18b951 (patch)
treeca691581f1b94c9e97228a5afa390970611eba8c /modules/gdscript
parentefb257c675a028de666b4bfcbac47b16770e10e7 (diff)
more bugfixes
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gd_script.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gd_script.cpp b/modules/gdscript/gd_script.cpp
index b19168f536..982584c75c 100644
--- a/modules/gdscript/gd_script.cpp
+++ b/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;