mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Improve UX when no game exists and drop default_game
(#13550)
This commit is contained in:
@@ -397,11 +397,6 @@ bool ClientLauncher::launch_game(std::string &error_message,
|
||||
spec.path = start_data.world_path;
|
||||
spec.gameid = getWorldGameId(spec.path, true);
|
||||
spec.name = _("[--world parameter]");
|
||||
|
||||
if (spec.gameid.empty()) { // Create new
|
||||
spec.gameid = g_settings->get("default_game");
|
||||
spec.name += " [new]";
|
||||
}
|
||||
}
|
||||
|
||||
/* Show the GUI menu
|
||||
|
Reference in New Issue
Block a user