Mod progress not reset correctly on multiple mod download

This commit is contained in:
Björn Dahlgren 2015-12-29 16:21:17 +01:00
parent 061d6c85e8
commit 73ecdbe47b

View File

@ -56,7 +56,7 @@ Mods.prototype.download = function (mod, cb) {
if (!currentDownloadMod || currentDownloadMod.name != modName) { if (!currentDownloadMod || currentDownloadMod.name != modName) {
if (currentDownloadMod) { if (currentDownloadMod) {
delete currentDownloadMod.progress; currentDownloadMod.progress = null;
} }
var mod = _.find(self.mods, {name: modName}); var mod = _.find(self.mods, {name: modName});