|
@@ -616,7 +616,7 @@ Error GDScript::reload(bool p_keep_state) {
|
|
|
if (basedir != "")
|
|
|
basedir = basedir.get_base_dir();
|
|
|
|
|
|
- if (basedir != "" && basedir.find("res://") == -1 && basedir.find("user://") == -1) {
|
|
|
+ if (source.find("%BASE%") != -1) {
|
|
|
//loading a template, don't parse
|
|
|
return OK;
|
|
|
}
|