You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix cyclic reference base being loaded but not valid (which is ok)
This commit is contained in:
@@ -260,7 +260,7 @@ Ref<GDScript> GDScriptCache::get_full_script(const String &p_path, Error &r_erro
|
||||
Ref<GDScript> script;
|
||||
r_error = OK;
|
||||
if (singleton->full_gdscript_cache.has(p_path)) {
|
||||
script = Ref<GDScript>(singleton->full_gdscript_cache[p_path]);
|
||||
script = singleton->full_gdscript_cache[p_path];
|
||||
if (!p_update_from_disk) {
|
||||
return script;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user