diff options
author | fabriceci <fabricecipolla@gmail.com> | 2022-03-12 11:48:03 +0100 |
---|---|---|
committer | fabriceci <fabricecipolla@gmail.com> | 2022-03-23 11:03:44 +0100 |
commit | dae97909bdbe1064e279165b60ea509f3b3ea27c (patch) | |
tree | 0def0ea64acfa9fe460d15106f4c2cf4505d838e /modules/gdscript/gdscript.cpp | |
parent | d5076439e44e6eab5732e1d2fc0f30bb6f34e5f9 (diff) | |
download | redot-engine-dae97909bdbe1064e279165b60ea509f3b3ea27c.tar.gz |
Restrict the condition when checking if a script is a template
Diffstat (limited to 'modules/gdscript/gdscript.cpp')
-rw-r--r-- | modules/gdscript/gdscript.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp index c12c1a43a3..d415684d10 100644 --- a/modules/gdscript/gdscript.cpp +++ b/modules/gdscript/gdscript.cpp @@ -827,10 +827,6 @@ Error GDScript::reload(bool p_keep_state) { if (basedir.begins_with(EditorSettings::get_singleton()->get_project_script_templates_dir())) { return OK; } -#else - if (source.contains("_BASE_")) { - return OK; - } #endif { |