v2 up 9aif09aug8

This commit is contained in:
2018-12-17 19:21:36 +01:00
parent 443539d9ed
commit 9ab4be8f1a
3 changed files with 6 additions and 6 deletions

View File

@@ -868,11 +868,11 @@ class AutomaticDispose {
if (count > 0) {
return Missions.each((MyMission) => {
var MissionElement = $("#mission_" + MyMission.missionID);
if (MissionElement.length == 0) {
if (MissionElement.length == 0 || $('#mission_panel_' + MyMission.missionID).hasClass('mission_panel_green')) {
// remove
console.log("Remove :", MyMission)
self.RemoveMissionsFromQueue(MyMission.missionID)
}
}
});
}
});