Revert "Fix localise_path method so that uncached scripts don't sometimes get loaded with two backslashes"

This reverts commit 1342551664.
This commit is contained in:
Emmanuel Leblond 2019-11-26 13:42:18 +01:00
parent ae04d23cce
commit a1f1a1d798
No known key found for this signature in database
GPG key ID: C360860E645EFFC0

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