diff options
Diffstat (limited to 'src/gui/windows/worldselectdialog.cpp')
-rw-r--r-- | src/gui/windows/worldselectdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/worldselectdialog.cpp b/src/gui/windows/worldselectdialog.cpp index da7e29585..db7db88aa 100644 --- a/src/gui/windows/worldselectdialog.cpp +++ b/src/gui/windows/worldselectdialog.cpp @@ -23,6 +23,7 @@ #include "gui/windows/worldselectdialog.h" #include "client.h" +#include "settings.h" #include "input/inputaction.h" @@ -105,7 +106,7 @@ void WorldSelectDialog::action(const ActionEvent &event) mChangeLoginButton->setEnabled(false); mChooseWorld->setEnabled(false); Net::getLoginHandler()->chooseServer(mWorldList->getSelected(), - client->getPersistentIp()); + settings.persistentIp); // Check in case netcode moves us forward if (client->getState() == STATE_WORLD_SELECT) |