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
commit 6ae06249cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;