mirror of
https://github.com/minetest/minetest.git
synced 2024-12-24 07:02:23 +01:00
Fix misleading error when exiting the client from the main menu
This commit is contained in:
parent
784a452ed5
commit
b5e11e0e9a
@ -1937,6 +1937,10 @@ bool ClientLauncher::launch_game(std::wstring *error_message,
|
|||||||
errorstream << wide_to_narrow(*error_message) << std::endl;
|
errorstream << wide_to_narrow(*error_message) << std::endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (porting::signal_handler_killstatus())
|
||||||
|
return true;
|
||||||
|
|
||||||
if (game_params.game_spec.isValid() &&
|
if (game_params.game_spec.isValid() &&
|
||||||
game_params.game_spec.id != worldspec.gameid) {
|
game_params.game_spec.id != worldspec.gameid) {
|
||||||
errorstream << "WARNING: Overriding gamespec from \""
|
errorstream << "WARNING: Overriding gamespec from \""
|
||||||
|
Loading…
Reference in New Issue
Block a user