Skip to content

Commit

Permalink
Fix UID path remap
Browse files Browse the repository at this point in the history
  • Loading branch information
KoBeWi committed Jan 11, 2025
1 parent abf8e1e commit 9ad34ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/io/resource_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1226,6 +1226,7 @@ String ResourceLoader::_path_remap(const String &p_path, bool *r_translation_rem
} else {
// Try file remap.
// Usually, there's no remap file and FileAccess::exists() is faster than FileAccess::open().
new_path = ResourceUID::ensure_path(new_path);
if (FileAccess::exists(new_path + ".remap")) {
Error err;
Ref<FileAccess> f = FileAccess::open(new_path + ".remap", FileAccess::READ, &err);
Expand Down

0 comments on commit 9ad34ec

Please sign in to comment.