Merge pull request #77749 from RandomShaper/fix_ext_res_id

Fix external resource ids lost
This commit is contained in:
Rémi Verschelde 2023-06-02 01:00:18 +02:00 committed by GitHub
commit 621d68e412
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}