v2 up 938u9uajfpjaoip

This commit is contained in:
2018-12-01 14:18:04 +01:00
parent 6e11cac812
commit 3ac732a1f5
3 changed files with 20 additions and 6 deletions

View File

@@ -115,8 +115,15 @@ class AutomaticDispose {
console.error(err.stack || err);
});
this.ADisDB.on("ready", () => {
setInterval(self.genSettings.bind(self),1000);
self.adis_settings = {
'Krankentransport-Automatic': false,
'Sprechwunsch-Automatic': false,
'MissionsOwn-Automatic': false,
'Alliance-Automatic': false,
'AllianceEvent-Automatic': false
}
self.genSettings()
setInterval(self.genSettings.bind(self), 1000);
if (window.location.pathname === "/" || window.location.pathname === "/#") {
self.GetAvailableMissions()