Fix misleading error when exiting the client from the main menu

master
Craig Robbins 2014-12-14 00:00:52 +10:00
parent 784a452ed5
commit b5e11e0e9a
1 changed files with 4 additions and 0 deletions

View File

@ -1937,6 +1937,10 @@ bool ClientLauncher::launch_game(std::wstring *error_message,
errorstream << wide_to_narrow(*error_message) << std::endl;
return false;
}
if (porting::signal_handler_killstatus())
return true;
if (game_params.game_spec.isValid() &&
game_params.game_spec.id != worldspec.gameid) {
errorstream << "WARNING: Overriding gamespec from \""