From b6ec2ac4b0eb8bce9d985691325b4406b1faf879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 22 Aug 2015 00:52:50 +0200 Subject: [PATCH] GH-1140 mark cached modpack dls as stale so it checks the server --- application/MainWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index d5fcc6f01..72db197cf 100644 --- a/application/MainWindow.cpp +++ b/application/MainWindow.cpp @@ -1061,6 +1061,7 @@ void MainWindow::instanceFromZipPack(QString instName, QString instGroup, QStrin { const QString path = url.host() + '/' + url.path(); auto entry = ENV.metacache()->resolveEntry("general", path); + entry->stale = true; CacheDownloadPtr dl = CacheDownload::make(url, entry); NetJob job(tr("Modpack download")); job.addNetAction(dl);