Merge pull request #33915 from touilleMan/issue-33913

Revert faulty stripping of / in ProjectSettings::localize_path
This commit is contained in:
Rémi Verschelde 2019-11-26 14:14:01 +01:00 committed by GitHub
commit 8ea909f5b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,7 +107,7 @@ String ProjectSettings::localize_path(const String &p_path) const {
if (plocal == "") {
return "";
};
return plocal + path.substr((sep + 1), path.size() - (sep + 1));
return plocal + path.substr(sep, path.size() - sep);
};
}