v2 up date mission adding

This commit is contained in:
2018-12-17 23:41:01 +01:00
parent 832c067f14
commit eb8982e17b
3 changed files with 8 additions and 4 deletions

View File

@@ -916,6 +916,8 @@ class AutomaticDispose {
}
}).then((Missions) => {
if (typeof Missions === "undefined") {
return;
/*
var MissionElement = $("#mission_" + ID);
var MissionID = MissionElement.attr("mission_id");
@@ -941,7 +943,7 @@ class AutomaticDispose {
"next_check": Math.floor(new Date().getTime() / 1000) + 1
});
});
*/
}
return Missions.count((count) => {
if (count > 0) {