summaryrefslogtreecommitdiff
path: root/src/gui/windows/worldselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/worldselectdialog.cpp')
-rw-r--r--src/gui/windows/worldselectdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/worldselectdialog.cpp b/src/gui/windows/worldselectdialog.cpp
index 7d5308402..277c65424 100644
--- a/src/gui/windows/worldselectdialog.cpp
+++ b/src/gui/windows/worldselectdialog.cpp
@@ -115,7 +115,7 @@ void WorldSelectDialog::action(const ActionEvent &event)
}
else if (eventId == "login")
{
- client->setState(State::PRE_LOGIN);
+ client->setState(State::SWITCH_LOGIN);
}
}