diff options
author | swirl <swurl@swurl.xyz> | 2022-02-03 13:59:25 -0500 |
---|---|---|
committer | swirl <swurl@swurl.xyz> | 2022-02-03 13:59:25 -0500 |
commit | 2c62a34c2f47961e343b8aae37cd76ed7520593e (patch) | |
tree | dfa09fc140c9757b52ceffff9a61c19accd22036 /launcher/LaunchController.cpp | |
parent | e8a4902a3dddd08d65bd1284951ae5954439d1f5 (diff) | |
parent | 2177aa2a6b248088f76b463c43d04c65126195bf (diff) | |
download | PrismLauncher-2c62a34c2f47961e343b8aae37cd76ed7520593e.tar.gz PrismLauncher-2c62a34c2f47961e343b8aae37cd76ed7520593e.tar.bz2 PrismLauncher-2c62a34c2f47961e343b8aae37cd76ed7520593e.zip |
Merge branch 'feature/offline_mode' into develop
Diffstat (limited to 'launcher/LaunchController.cpp')
-rw-r--r-- | launcher/LaunchController.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/launcher/LaunchController.cpp b/launcher/LaunchController.cpp index 7750be1a..32fc99cb 100644 --- a/launcher/LaunchController.cpp +++ b/launcher/LaunchController.cpp @@ -116,6 +116,12 @@ void LaunchController::login() { m_session->wants_online = m_online; m_accountToUse->fillSession(m_session); + // Launch immediately in true offline mode + if(m_accountToUse->isOffline()) { + launchInstance(); + return; + } + switch(m_accountToUse->accountState()) { case AccountState::Offline: { m_session->wants_online = false; |