summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b1ab8a68..b8eb8671 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -972,6 +972,7 @@ int main(int argc, char *argv[])
case STATE_LOGIN_ATTEMPT:
logger->log("State: LOGIN ATTEMPT");
accountLogin(&loginData);
+ currentDialog = new ConnectionDialog(STATE_SWITCH_SERVER);
break;
case STATE_WORLD_SELECT:
@@ -1059,6 +1060,7 @@ int main(int argc, char *argv[])
case STATE_GET_CHARACTERS:
logger->log("State: GET CHARACTERS");
Net::getCharHandler()->getCharacters();
+ currentDialog = new ConnectionDialog(STATE_SWITCH_SERVER);
break;
case STATE_CHAR_SELECT: