mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
Restrict the condition when checking if a script is a template
This commit is contained in:
@@ -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
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user