pwfaöm
This commit is contained in:
6
dist/autoloader.js
vendored
6
dist/autoloader.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Sat Nov 24 2018 16:07:35 GMT+0100 (CET)*/
|
||||
/*Generated on:Sat Nov 24 2018 16:09:52 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();
|
||||
@@ -6428,14 +6428,16 @@ ADisDB.on("ready", () => {
|
||||
ADisDB.ADisSprechwunschPolice.where({
|
||||
done: 'false'
|
||||
}).each((myWunsch) => {
|
||||
console.log('ADis_CollectPoliceSprechwuensche: remove');
|
||||
if (!$("#mission_" + myWunsch.missionID).text().match(/Gefangene sollen abtransportiert werden/g)) {
|
||||
$("#mission_" + myWunsch.missionID).remove();
|
||||
return ADis_RemovePoliceSprechwunschFromQueue(myWunsch.missionID);
|
||||
}
|
||||
}).then(() => {
|
||||
console.log('ADis_CollectPoliceSprechwuensche: add');
|
||||
var MOIODOS = $('div#mission_list div.missionSideBarEntry:visible');
|
||||
MOIODOS.each(function (index) {
|
||||
if ($(this).text().match(/Gefangene sollen abtransportiert werden\./gmu)) {
|
||||
if ($(this).text().match(/Gefangene sollen abtransportiert werden/g)) {
|
||||
var MissionID = $(this).attr("mission_id");
|
||||
ADis_AddPoliceSprechwunschToQueue(MissionID);
|
||||
}
|
||||
|
||||
2
dist/standalone.js
vendored
2
dist/standalone.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Sat Nov 24 2018 16:07:35 GMT+0100 (CET)*/
|
||||
/*Generated on:Sat Nov 24 2018 16:09:52 GMT+0100 (CET)*/
|
||||
function includesString(string1, string2) {
|
||||
return string1.toLowerCase().includes(string2.toLowerCase());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user