You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Remove String::find_last (same as rfind)
This commit is contained in:
@@ -93,7 +93,7 @@ String ProjectSettings::localize_path(const String &p_path) const {
|
||||
} else {
|
||||
memdelete(dir);
|
||||
|
||||
int sep = path.find_last("/");
|
||||
int sep = path.rfind("/");
|
||||
if (sep == -1) {
|
||||
return "res://" + path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user