You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Fix localise_path method so that uncached scripts don't sometimes get loaded with two backslashes
This commit is contained in:
@@ -107,7 +107,7 @@ String ProjectSettings::localize_path(const String &p_path) const {
|
|||||||
if (plocal == "") {
|
if (plocal == "") {
|
||||||
return "";
|
return "";
|
||||||
};
|
};
|
||||||
return plocal + path.substr(sep, path.size() - sep);
|
return plocal + path.substr((sep + 1), path.size() - (sep + 1));
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user