summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/manaserv/loginhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/manaserv/loginhandler.cpp b/src/net/manaserv/loginhandler.cpp
index 615abc51..4a0339b4 100644
--- a/src/net/manaserv/loginhandler.cpp
+++ b/src/net/manaserv/loginhandler.cpp
@@ -301,6 +301,11 @@ bool LoginHandler::isConnected()
void LoginHandler::disconnect()
{
accountServerConnection->disconnect();
+
+ if (state == STATE_CONNECT_GAME)
+ {
+ state = STATE_GAME;
+ }
}
void LoginHandler::loginAccount(LoginData *loginData)