mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-08-28 23:16:30 -05:00
network: Address review comments
This commit is contained in:
@@ -74,14 +74,18 @@ MultiplayerState::~MultiplayerState() {
|
||||
}
|
||||
|
||||
void MultiplayerState::Close() {
|
||||
if (host_room)
|
||||
if (host_room) {
|
||||
host_room->close();
|
||||
if (direct_connect)
|
||||
}
|
||||
if (direct_connect) {
|
||||
direct_connect->close();
|
||||
if (client_room)
|
||||
}
|
||||
if (client_room) {
|
||||
client_room->close();
|
||||
if (lobby)
|
||||
}
|
||||
if (lobby) {
|
||||
lobby->close();
|
||||
}
|
||||
}
|
||||
|
||||
void MultiplayerState::retranslateUi() {
|
||||
|
Reference in New Issue
Block a user