diff options
Diffstat (limited to 'src/net/eathena/gamehandler.cpp')
-rw-r--r-- | src/net/eathena/gamehandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp index 07e4dd7c6..381131fbc 100644 --- a/src/net/eathena/gamehandler.cpp +++ b/src/net/eathena/gamehandler.cpp @@ -107,8 +107,7 @@ void GameHandler::connect() mNetwork->connect(mapServer); - const Token &token = - static_cast<LoginHandler*>(Net::getLoginHandler())->getToken(); + const Token &token = static_cast<LoginHandler*>(loginHandler)->getToken(); if (client->getState() == STATE_CONNECT_GAME) |