diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index d491d9b5..4699e072 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -908,8 +908,9 @@ int main(int argc, char *argv[]) state = STATE_GAME; } - else if (state == STATE_CONNECT_SERVER && (Net::getLoginHandler() && - Net::getLoginHandler()->isConnected())) + else if (state == STATE_CONNECT_SERVER && + oldstate != STATE_CHOOSE_SERVER && + Net::getLoginHandler()->isConnected()) { Net::getCharHandler()->setCharInfo(&charInfo); state = STATE_LOGIN; |