diff options
-rw-r--r-- | src/progs/manaplus/client.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp index 90943812a..bdda61b76 100644 --- a/src/progs/manaplus/client.cpp +++ b/src/progs/manaplus/client.cpp @@ -1220,16 +1220,20 @@ int Client::gameExec() // Trust that the netcode knows what it's doing mState = State::UPDATE; } - else if (worlds.size() == 1 || settings.options.chooseDefault) + else if (worlds.size() == 1 || + settings.options.chooseDefault) { - // If there is only one world or chooseDefault is true, select the first world - loginHandler->chooseServer(0, mCurrentServer.persistentIp); + loginHandler->chooseServer( + 0, mCurrentServer.persistentIp); + mState = State::UPDATE; } else { // Otherwise, show the world selection dialog - CREATEWIDGETV(mCurrentDialog, WorldSelectDialog, worlds); + CREATEWIDGETV(mCurrentDialog, + WorldSelectDialog, + worlds); } } BLOCK_END("Client::gameExec State::WORLD_SELECT") |