Load/update GDScript from disk on load if cache mode is CACHE_MODE_IGNORE
This commit is contained in:
@ -2390,7 +2390,7 @@ Ref<Resource> ResourceFormatLoaderGDScript::load(const String &p_path, const Str
|
||||
}
|
||||
|
||||
Error err;
|
||||
Ref<GDScript> script = GDScriptCache::get_full_script(p_path, err);
|
||||
Ref<GDScript> script = GDScriptCache::get_full_script(p_path, err, "", p_cache_mode == CACHE_MODE_IGNORE);
|
||||
|
||||
// TODO: Reintroduce binary and encrypted scripts.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user