diff options
author | Rindbee <idleman@yeah.net> | 2022-07-20 12:40:19 +0800 |
---|---|---|
committer | Rindbee <idleman@yeah.net> | 2022-09-24 16:06:36 +0800 |
commit | f1a4041f52134bd6c5ff7cb41529031c0afc5338 (patch) | |
tree | eda2affd2b2b0592be2dbdb2e5f37228a1a4f46f /modules/gdscript/gdscript.cpp | |
parent | f74491fdee9bc2d68668137fbacd8f3a7e7e8df7 (diff) | |
download | redot-engine-f1a4041f52134bd6c5ff7cb41529031c0afc5338.tar.gz |
Load/update GDScript from disk on load if cache mode is CACHE_MODE_IGNORE
Diffstat (limited to 'modules/gdscript/gdscript.cpp')
-rw-r--r-- | modules/gdscript/gdscript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp index 1cff2181af..54cadf7df3 100644 --- a/modules/gdscript/gdscript.cpp +++ b/modules/gdscript/gdscript.cpp @@ -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. |