diff --git a/dist/autoloader.js b/dist/autoloader.js index fced564..ccfac06 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -1,4 +1,4 @@ -/*Generated on:Mon Dec 03 2018 20:20:02 GMT+0100 (CET)*/ +/*Generated on:Mon Dec 03 2018 20:21:27 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(); diff --git a/dist/autoloaderV2.js b/dist/autoloaderV2.js index e33309a..744e6c8 100644 --- a/dist/autoloaderV2.js +++ b/dist/autoloaderV2.js @@ -1,4 +1,4 @@ -/*Generated on:Mon Dec 03 2018 20:20:02 GMT+0100 (CET)*/ +/*Generated on:Mon Dec 03 2018 20:21:27 GMT+0100 (CET)*/ /* * Dexie.js - a minimalistic wrapper for IndexedDB * =============================================== @@ -18650,6 +18650,9 @@ class AutomaticDispose { }).toArray() } }).then((Wunsche) => { + if (typeof Wunsche === "undefined") { + return setTimeout(self.OpenNextMission.bind(self), 1000, Runner); + } Wunsche.sort((a, b) => { return a.next_check - b.next_check; }); diff --git a/src/autoloaderV2.js b/src/autoloaderV2.js index 9136555..a80ef7a 100644 --- a/src/autoloaderV2.js +++ b/src/autoloaderV2.js @@ -1058,6 +1058,9 @@ class AutomaticDispose { }).toArray() } }).then((Wunsche) => { + if (typeof Wunsche === "undefined") { + return setTimeout(self.OpenNextMission.bind(self), 1000, Runner); + } Wunsche.sort((a, b) => { return a.next_check - b.next_check; });