Restrict the condition when checking if a script is a template
This commit is contained in:
parent
d5076439e4
commit
dae97909bd
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue