From 73ecdbe47bb5aa7f08d9d2d7193bb591c5402fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Dahlgren?= Date: Tue, 29 Dec 2015 16:21:17 +0100 Subject: [PATCH] Mod progress not reset correctly on multiple mod download --- lib/mods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mods.js b/lib/mods.js index 506a14e..1b6d6eb 100644 --- a/lib/mods.js +++ b/lib/mods.js @@ -56,7 +56,7 @@ Mods.prototype.download = function (mod, cb) { if (!currentDownloadMod || currentDownloadMod.name != modName) { if (currentDownloadMod) { - delete currentDownloadMod.progress; + currentDownloadMod.progress = null; } var mod = _.find(self.mods, {name: modName});