Fixed unconnecting from a server.
This commit is contained in:
parent
14390c2c5b
commit
642c402dcf
@ -140,6 +140,7 @@ void ClientLobbyRoomProtocol::leave()
|
||||
m_server->disconnect();
|
||||
STKHost::get()->removePeer(m_server);
|
||||
m_server_address.clear();
|
||||
ServersManager::get()->unsetJoinedServer();
|
||||
} // leave
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user