mirror of
https://github.com/edubart/otclient.git
synced 2025-12-24 16:57:11 +01:00
net improvments
This commit is contained in:
@@ -35,7 +35,10 @@ void Game::onLogin()
|
||||
|
||||
void Game::onLogout()
|
||||
{
|
||||
m_protocolGame.reset();
|
||||
if(m_protocolGame) {
|
||||
m_protocolGame->disconnect();
|
||||
m_protocolGame.reset();
|
||||
}
|
||||
m_localPlayer.reset();
|
||||
m_online = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user