mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 17:35:46 +00:00
network: Address review comments
This commit is contained in:
parent
d5e6d1b576
commit
cdb20e9afa
5 changed files with 201 additions and 197 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue