Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Skip further loading of client if there was an exit signal
- Loading branch information
Showing
with
4 additions
and
0 deletions.
-
+4
−0
src/main.cpp
|
@@ -1859,6 +1859,10 @@ bool ClientLauncher::launch_game(std::wstring *error_message, |
|
|
if (!skip_main_menu) { |
|
|
main_menu(&menudata); |
|
|
|
|
|
// Skip further loading if there was an exit signal. |
|
|
if (*porting::signal_handler_killstatus()) |
|
|
return false; |
|
|
|
|
|
address = menudata.address; |
|
|
int newport = stoi(menudata.port); |
|
|
if (newport != 0) |
|
|