Skip to content
Permalink
Browse files

Fix misleading error when exiting the client from the main menu

  • Loading branch information
Zeno- committed Dec 13, 2014
1 parent 784a452 commit b5e11e0e9adf65cc756dc6403d511f51f4122e3a
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/main.cpp
@@ -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 \""

0 comments on commit b5e11e0

Please sign in to comment.
You can’t perform that action at this time.