diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-01-18 22:11:33 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-01-18 22:11:33 +0100 |
commit | 3fabb11f4c59baffb14db00d338d9efe342e277e (patch) | |
tree | c33d242761d31879f12821daab4d4f714a47b698 /logic/auth | |
parent | 8650aa81f06d9e229764b200f1dca135412c2ec1 (diff) | |
download | MultiMC-3fabb11f4c59baffb14db00d338d9efe342e277e.tar MultiMC-3fabb11f4c59baffb14db00d338d9efe342e277e.tar.gz MultiMC-3fabb11f4c59baffb14db00d338d9efe342e277e.tar.lz MultiMC-3fabb11f4c59baffb14db00d338d9efe342e277e.tar.xz MultiMC-3fabb11f4c59baffb14db00d338d9efe342e277e.zip |
Marginally improve OneSix offline mode launch
While reconstructing assets, skip files that don't exist.
Report missing OneSix native libraries.
Diffstat (limited to 'logic/auth')
-rw-r--r-- | logic/auth/MojangAccount.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/logic/auth/MojangAccount.cpp b/logic/auth/MojangAccount.cpp index a462eda5..f41985ec 100644 --- a/logic/auth/MojangAccount.cpp +++ b/logic/auth/MojangAccount.cpp @@ -198,7 +198,11 @@ void MojangAccount::authFailed(QString reason) { // This is emitted when the yggdrasil tasks time out or are cancelled. // -> we treat the error as no-op - if (reason != "Yggdrasil task cancelled.") + if (reason == "Yggdrasil task cancelled.") + { + // do nothing + } + else { m_online = false; m_accessToken = QString(); |