Merge pull request #33380 from SaracenOne/localise_path_fix

Fix localise_path method
This commit is contained in:
Rémi Verschelde 2019-11-06 22:33:13 +01:00 committed by GitHub
commit 99beb9afe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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