Add offline mode support
This commit is contained in:

committed by
Naomi Calabretta

parent
5abb97362f
commit
9d23ac562f
@ -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;
|
||||
|
Reference in New Issue
Block a user