Fix #5224: Close multiplayer window when server closes

Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
This commit is contained in:
Tobias Kohlbau 2018-01-02 13:04:53 +01:00 committed by Michael Steenbeek
parent a726f6decd
commit 9da4305a9c
1 changed files with 1 additions and 0 deletions

View File

@ -548,6 +548,7 @@ void Network::UpdateClient()
intent.putExtra(INTENT_EXTRA_MESSAGE, std::string { str_disconnected }); intent.putExtra(INTENT_EXTRA_MESSAGE, std::string { str_disconnected });
context_open_intent(&intent); context_open_intent(&intent);
} }
window_close_by_class(WC_MULTIPLAYER);
Close(); Close();
} }
break; break;