diff options
author | Sky <git@bunnies.cc> | 2014-01-05 00:14:10 +0000 |
---|---|---|
committer | Sky <git@bunnies.cc> | 2014-01-05 00:14:10 +0000 |
commit | 7d5fb1e99be24a884a69f3cf521aee8e310e2a6e (patch) | |
tree | 51d25c7f760eef471de31bf5b1a1e563e87def3c /logic/updater/DownloadUpdateTask.cpp | |
parent | 79158144df1b606982bfa722447416c9549de860 (diff) | |
parent | e558584af0e6a168d76868e89d132aeebd0aa36a (diff) | |
download | MultiMC-7d5fb1e99be24a884a69f3cf521aee8e310e2a6e.tar MultiMC-7d5fb1e99be24a884a69f3cf521aee8e310e2a6e.tar.gz MultiMC-7d5fb1e99be24a884a69f3cf521aee8e310e2a6e.tar.lz MultiMC-7d5fb1e99be24a884a69f3cf521aee8e310e2a6e.tar.xz MultiMC-7d5fb1e99be24a884a69f3cf521aee8e310e2a6e.zip |
Merge branch 'develop' of github.com:MultiMC/MultiMC5 into develop
Diffstat (limited to 'logic/updater/DownloadUpdateTask.cpp')
-rw-r--r-- | logic/updater/DownloadUpdateTask.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/logic/updater/DownloadUpdateTask.cpp b/logic/updater/DownloadUpdateTask.cpp index 6e0a92f0..029286dd 100644 --- a/logic/updater/DownloadUpdateTask.cpp +++ b/logic/updater/DownloadUpdateTask.cpp @@ -404,11 +404,10 @@ DownloadUpdateTask::processFileLists(NetJob *job, { auto cache_entry = MMC->metacache()->resolveEntry("root", entry.path); QLOG_DEBUG() << "Updater will be in " << cache_entry->getFullPath(); - if(cache_entry->stale) - { - auto download = CacheDownload::make(QUrl(source.url), cache_entry); - job->addNetAction(download); - } + // force check. + cache_entry->stale = true; + auto download = CacheDownload::make(QUrl(source.url), cache_entry); + job->addNetAction(download); } else { |