diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2023-06-01 22:34:49 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2023-06-01 22:34:49 +0200 |
commit | 4412c1d989fd49479b274c05972a2f66487dd1a5 (patch) | |
tree | d39a56c25a2aa7376e468c1d55b4e7617d1e74c5 /scene/resources/resource_format_text.cpp | |
parent | 2e273f0e35800f2bcc7c05db54100caa97928f69 (diff) | |
download | redot-engine-4412c1d989fd49479b274c05972a2f66487dd1a5.tar.gz |
Fix external resource ids lost
Diffstat (limited to 'scene/resources/resource_format_text.cpp')
-rw-r--r-- | scene/resources/resource_format_text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/resource_format_text.cpp b/scene/resources/resource_format_text.cpp index 4807af3c27..c3628125b4 100644 --- a/scene/resources/resource_format_text.cpp +++ b/scene/resources/resource_format_text.cpp @@ -168,7 +168,7 @@ Error ResourceLoaderText::_parse_ext_resource(VariantParser::Stream *p_stream, R } else { #ifdef TOOLS_ENABLED //remember ID for saving - res->set_id_for_path(path, id); + res->set_id_for_path(local_path, id); #endif r_res = res; } |