summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp
index 294ffd3d..0bd6f651 100644
--- a/gui/mainwindow.cpp
+++ b/gui/mainwindow.cpp
@@ -489,8 +489,8 @@ void MainWindow::doLogin(const QString &errorMsg)
{
QString user = loginDlg->getUsername();
if (user.length() == 0)
- user = QString("Offline");
- m_activeLogin = {user, QString("Offline"), QString("Player"), QString()};
+ user = QString("Player");
+ m_activeLogin = {user, QString("Offline"), user, QString()};
m_activeInst = m_selectedInstance;
launchInstance(m_activeInst, m_activeLogin);
}