diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-28 20:19:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-28 20:19:05 +0300 |
commit | 524b776f44b7628d95d772289f31fab890ceefc3 (patch) | |
tree | f589ef0183ca8f32238701ff8030a0f8342c9093 /src/client.cpp | |
parent | 29099e5159ff042b1039ca2382c478b3f8016c1b (diff) | |
download | manaplus-524b776f44b7628d95d772289f31fab890ceefc3.tar.gz manaplus-524b776f44b7628d95d772289f31fab890ceefc3.tar.bz2 manaplus-524b776f44b7628d95d772289f31fab890ceefc3.tar.xz manaplus-524b776f44b7628d95d772289f31fab890ceefc3.zip |
Fix "switch login" button in char selection dialog.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index bc470fe1d..d1dfadb92 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1724,6 +1724,9 @@ int Client::gameExec() logger->log1("State: SWITCH LOGIN"); Net::getLoginHandler()->logout(); + Net::getLoginHandler()->disconnect(); + Net::getGameHandler()->disconnect(); + Net::getLoginHandler()->connect(); mState = STATE_LOGIN; BLOCK_END("Client::gameExec STATE_SWITCH_LOGIN") |