fix: skip asking for offline name when using offline account
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
@@ -266,7 +266,7 @@ void LaunchController::login()
|
|||||||
}
|
}
|
||||||
/* fallthrough */
|
/* fallthrough */
|
||||||
case AccountState::Online: {
|
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
|
// we ask the user for a player name
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
QString name;
|
QString name;
|
||||||
|
|||||||
Reference in New Issue
Block a user