diff --git a/dist/autoloader.js b/dist/autoloader.js index cb469b7..10d4f08 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -1,4 +1,4 @@ -/*Generated on:Tue Nov 27 2018 15:04:41 GMT+0100 (CET)*/ +/*Generated on:Tue Nov 27 2018 15:05:39 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(); @@ -5286,11 +5286,12 @@ ADisDB.on("ready", () => { return Wunsch.count(function (count) { if (count > 0) { Wunsch.each((mywunsch) => { - MainHandler() + return MainHandler() }); } }); } + return tellParent(`console.log('done:${window.name}:${MissionID}');ADis_MissionDelete('${window.name}', '${MissionID}');`); }) }, 2000); }); diff --git a/dist/standalone.js b/dist/standalone.js index 0e80c65..2a99fc5 100644 --- a/dist/standalone.js +++ b/dist/standalone.js @@ -1,4 +1,4 @@ -/*Generated on:Tue Nov 27 2018 15:04:41 GMT+0100 (CET)*/ +/*Generated on:Tue Nov 27 2018 15:05:39 GMT+0100 (CET)*/ function includesString(string1, string2) { return string1.toLowerCase().includes(string2.toLowerCase()); } diff --git a/script/mission/handler.js b/script/mission/handler.js index b4fad26..c42ce15 100755 --- a/script/mission/handler.js +++ b/script/mission/handler.js @@ -36,11 +36,12 @@ $(document).ready(function () { return Wunsch.count(function (count) { if (count > 0) { Wunsch.each((mywunsch) => { - MainHandler() + return MainHandler() }); } }); } + return tellParent(`console.log('done:${window.name}:${MissionID}');ADis_MissionDelete('${window.name}', '${MissionID}');`); }) }, 2000); });