Fixed unconnecting from a server.

This commit is contained in:
hiker 2015-12-01 17:43:43 +11:00
parent 14390c2c5b
commit 642c402dcf

View File

@ -140,6 +140,7 @@ void ClientLobbyRoomProtocol::leave()
m_server->disconnect();
STKHost::get()->removePeer(m_server);
m_server_address.clear();
ServersManager::get()->unsetJoinedServer();
} // leave
//-----------------------------------------------------------------------------