fix faye mission collecotr

This commit is contained in:
2019-02-18 21:04:36 +01:00
parent 2f48b86609
commit 313e5213b8
3 changed files with 4 additions and 4 deletions

2
dist/autoloader.js vendored
View File

@@ -1,4 +1,4 @@
/*Generated on:Mon Feb 18 2019 20:58:45 GMT+0100 (CET)*/
/*Generated on:Mon Feb 18 2019 21:04:35 GMT+0100 (CET)*/
var AutomaticDispose_Branch = "master";
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
var da_lss_adis_time = new Date().getTime();

View File

@@ -1,4 +1,4 @@
/*Generated on:Mon Feb 18 2019 20:58:45 GMT+0100 (CET)*/
/*Generated on:Mon Feb 18 2019 21:04:35 GMT+0100 (CET)*/
/*
* Dexie.js - a minimalistic wrapper for IndexedDB
* ===============================================
@@ -4591,7 +4591,7 @@
"last_check": Math.floor(new Date().getTime() / 1000),
"next_check": Math.floor(new Date().getTime() / 1000) + 1
}
if (data.vehicle_state === 0 && data.missing_text===null) {
if (data.vehicle_state === 0 && (data.missing_text===null || (data.missing_text && data.missing_text.includes('Zusätzlich benötigte Fahrzeuge')))) {
window.AutomaticDisposeCall.AddMissionsToQueue(missionData)
} else if (data.missing_text === 'Gefangene sollen abtransportiert werden.') {
window.AutomaticDisposeCall.AddPoliceSprechwunschToQueue(MissionID);

View File

@@ -116,7 +116,7 @@
"last_check": Math.floor(new Date().getTime() / 1000),
"next_check": Math.floor(new Date().getTime() / 1000) + 1
}
if (data.vehicle_state === 0 && data.missing_text===null) {
if (data.vehicle_state === 0 && (data.missing_text===null || (data.missing_text && data.missing_text.includes('Zusätzlich benötigte Fahrzeuge')))) {
window.AutomaticDisposeCall.AddMissionsToQueue(missionData)
} else if (data.missing_text === 'Gefangene sollen abtransportiert werden.') {
window.AutomaticDisposeCall.AddPoliceSprechwunschToQueue(MissionID);