diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-04-19 22:07:34 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-04-19 22:23:00 +0200 |
commit | 60777ad8ce97997493bcaf3eddd3c9c447756cb3 (patch) | |
tree | b548f4c2d3dd720e6655977a476f74c9afc78a9d /api | |
parent | 88041783e6a8c8f4b1e9bda55e6defe9feb7d93b (diff) | |
download | MultiMC-60777ad8ce97997493bcaf3eddd3c9c447756cb3.tar MultiMC-60777ad8ce97997493bcaf3eddd3c9c447756cb3.tar.gz MultiMC-60777ad8ce97997493bcaf3eddd3c9c447756cb3.tar.lz MultiMC-60777ad8ce97997493bcaf3eddd3c9c447756cb3.tar.xz MultiMC-60777ad8ce97997493bcaf3eddd3c9c447756cb3.zip |
GH-1856 always pull new versions of metadata when requested
The only block is if it's already happening.
Diffstat (limited to 'api')
-rw-r--r-- | api/logic/meta/BaseEntity.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/logic/meta/BaseEntity.h b/api/logic/meta/BaseEntity.h index 85051d97..85c25e48 100644 --- a/api/logic/meta/BaseEntity.h +++ b/api/logic/meta/BaseEntity.h @@ -57,7 +57,8 @@ public: } bool shouldStartRemoteUpdate() const { - return m_updateStatus == UpdateStatus::NotDone; + // TODO: version-locks and offline mode? + return m_updateStatus != UpdateStatus::InProgress; } void load(); |