Load/update GDScript from disk on load if cache mode is CACHE_MODE_IGNORE
This commit is contained in:
parent
f74491fdee
commit
f1a4041f52
3 changed files with 12 additions and 6 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue