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:
parent
ae04d23cce
commit
a1f1a1d798
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue