You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
@@ -918,7 +918,7 @@ String ResourceLoader::_path_remap(const String &p_path, bool *r_translation_rem
|
||||
}
|
||||
|
||||
// Fallback to p_path if new_path does not exist.
|
||||
if (!FileAccess::exists(new_path)) {
|
||||
if (!FileAccess::exists(new_path + ".import") && !FileAccess::exists(new_path)) {
|
||||
WARN_PRINT(vformat("Translation remap '%s' does not exist. Falling back to '%s'.", new_path, p_path));
|
||||
new_path = p_path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user