mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
Mod progress not reset correctly on multiple mod download
This commit is contained in:
parent
061d6c85e8
commit
73ecdbe47b
@ -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});
|
||||||
|
Loading…
Reference in New Issue
Block a user