You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add String::replace_char(s) methods for performance and convenience
This commit is contained in:
@@ -4425,7 +4425,7 @@ int Main::start() {
|
||||
|
||||
String local_game_path;
|
||||
if (!game_path.is_empty() && !project_manager) {
|
||||
local_game_path = game_path.replace("\\", "/");
|
||||
local_game_path = game_path.replace_char('\\', '/');
|
||||
|
||||
if (!local_game_path.begins_with("res://")) {
|
||||
bool absolute =
|
||||
|
||||
Reference in New Issue
Block a user