v2 up handler ADisSettings = ADSettings
This commit is contained in:
22
dist/autoloaderV2.js
vendored
22
dist/autoloaderV2.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Sun Dec 02 2018 09:49:44 GMT+0100 (CET)*/
|
||||
/*Generated on:Sun Dec 02 2018 09:52:21 GMT+0100 (CET)*/
|
||||
/*
|
||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||
* ===============================================
|
||||
@@ -16957,9 +16957,9 @@ class AutomaticDispose {
|
||||
let self = this;
|
||||
|
||||
self.MissionType = null
|
||||
self.MissionID= null
|
||||
self.MyRunner= null
|
||||
self.MyRunnerSettings= null
|
||||
self.MissionID = null
|
||||
self.MyRunner = null
|
||||
self.MyRunnerSettings = null
|
||||
|
||||
self._ADisVehiclesNeed = {}
|
||||
self.MissionConfig = {}
|
||||
@@ -18255,7 +18255,7 @@ class AutomaticDispose {
|
||||
// -
|
||||
// - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
||||
|
||||
|
||||
|
||||
StartMission() {
|
||||
const self = this;
|
||||
self.MissionType = null;
|
||||
@@ -18276,7 +18276,7 @@ class AutomaticDispose {
|
||||
}
|
||||
console.log("MissionID", self.MissionID);
|
||||
console.log("MissionType", self.MissionType);
|
||||
self.ADisSettings().then((setting) => {
|
||||
self.ADSettings().then((setting) => {
|
||||
if (setting[runnerSettings] != 'true') {
|
||||
return self.ADisDB.ADisMissionsOwn.where({
|
||||
missionID: self.MissionID,
|
||||
@@ -18332,7 +18332,7 @@ class AutomaticDispose {
|
||||
|
||||
WorkVerbandMission() {
|
||||
const self = this;
|
||||
self.ADisSettings().then((setting) => {
|
||||
self.ADSettings().then((setting) => {
|
||||
var title = document.getElementById('missionH1');
|
||||
var isVerband = title.innerText.toLowerCase().includes("[verband]");
|
||||
if (setting['Alliance-Automatic'] == 'true' && isVerband) {
|
||||
@@ -18393,13 +18393,11 @@ class AutomaticDispose {
|
||||
var missionLoad;
|
||||
if (window.name == 'adis-ownmissions') {
|
||||
setOpt = 'MissionsOwn-Automatic';
|
||||
missionLoad = 'ADisMissionsOwn';
|
||||
} else if (window.name == 'adis-krankentransporte') {
|
||||
setOpt = 'Krankentransport-Automatic';
|
||||
missionLoad = 'ADisKrankentransport';
|
||||
}
|
||||
if (setOpt && missionLoad) {
|
||||
self.ADisSettings().then((setting) => {
|
||||
self.ADSettings().then((setting) => {
|
||||
if (setting[setOpt] == 'true') {
|
||||
var coll = self.ADisDB.ADisMissions.where({
|
||||
done: 'false'
|
||||
@@ -18420,7 +18418,7 @@ class AutomaticDispose {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
GetMissionConfiguration(MissionType) {
|
||||
const self = this;
|
||||
@@ -18443,7 +18441,7 @@ class AutomaticDispose {
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
StartAlarmProcess() {
|
||||
const self = this;
|
||||
|
||||
Reference in New Issue
Block a user