mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #102427 from AThousandShips/fix_substr
Clean up some uses of `String::substr`
This commit is contained in:
commit
3c43508ed7
54 changed files with 123 additions and 123 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue