mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Merge pull request #33380 from SaracenOne/localise_path_fix
Fix localise_path method
This commit is contained in:
@@ -107,7 +107,7 @@ String ProjectSettings::localize_path(const String &p_path) const {
|
||||
if (plocal == "") {
|
||||
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