ignroe yellow missions

This commit is contained in:
2019-01-11 03:45:33 +01:00
parent 378eb99828
commit 4f5e36e24a
3 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
/*Generated on:Fri Jan 11 2019 03:10:43 GMT+0100 (CET)*/
/*Generated on:Fri Jan 11 2019 03:45:33 GMT+0100 (CET)*/
/*
* Dexie.js - a minimalistic wrapper for IndexedDB
* ===============================================
@@ -18250,7 +18250,7 @@ class AutomaticDispose {
if (count > 0) {
return Missions.each((MyMission) => {
var MissionElement = $("#mission_" + MyMission.missionID);
if (MissionElement.length == 0 || $('#mission_panel_' + MyMission.missionID).hasClass('mission_panel_green')) {
if (MissionElement.length == 0 || $('#mission_panel_' + MyMission.missionID).hasClass('mission_panel_green') || $('#mission_panel_' + MyMission.missionID).hasClass('mission_panel_yellow')) {
// remove
//console.log("Remove :", MyMission)
self.RemoveMissionsFromQueue(MyMission.missionID)