Skip asking for offline name when using offline account (#4680)

This commit is contained in:
Alexandru Ionut Tripon
2026-01-07 12:25:53 +02:00
committed by GitHub

View File

@@ -266,7 +266,7 @@ void LaunchController::login()
}
/* fallthrough */
case AccountState::Online: {
if (!m_session->wants_online) {
if (!m_session->wants_online && m_accountToUse->accountType() != AccountType::Offline) {
// we ask the user for a player name
bool ok = false;
QString name;