You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #102427 from AThousandShips/fix_substr
Clean up some uses of `String::substr`
This commit is contained in:
@@ -4236,7 +4236,7 @@ int Main::start() {
|
||||
Ref<DirAccess> da = DirAccess::open(local_game_path.substr(0, sep));
|
||||
if (da.is_valid()) {
|
||||
local_game_path = da->get_current_dir().path_join(
|
||||
local_game_path.substr(sep + 1, local_game_path.length()));
|
||||
local_game_path.substr(sep + 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user