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 | |
parent | 29099e5159ff042b1039ca2382c478b3f8016c1b (diff) | |
download | plus-524b776f44b7628d95d772289f31fab890ceefc3.tar.gz plus-524b776f44b7628d95d772289f31fab890ceefc3.tar.bz2 plus-524b776f44b7628d95d772289f31fab890ceefc3.tar.xz plus-524b776f44b7628d95d772289f31fab890ceefc3.zip |
Fix "switch login" button in char selection dialog.
Diffstat (limited to 'src')
-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") |