mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #5224: Close multiplayer window when server closes
Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
This commit is contained in:
parent
a726f6decd
commit
9da4305a9c
|
@ -548,6 +548,7 @@ void Network::UpdateClient()
|
|||
intent.putExtra(INTENT_EXTRA_MESSAGE, std::string { str_disconnected });
|
||||
context_open_intent(&intent);
|
||||
}
|
||||
window_close_by_class(WC_MULTIPLAYER);
|
||||
Close();
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue