diff --git a/modules/gdscript/gd_script.cpp b/modules/gdscript/gd_script.cpp index b19168f5368..982584c75c8 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;