Use player username if offline, or "Player" if blank
This commit is contained in:
parent
205570be32
commit
709252fe9e
@ -487,8 +487,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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user