From a712116b2d3a438ba8fb5e0ab45733df5b07e5fa Mon Sep 17 00:00:00 2001 From: Faizan Ahmad Date: Mon, 21 Feb 2022 15:15:54 -0500 Subject: [PATCH] cleaning up --- scripts/apps/missile-dialog.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/apps/missile-dialog.js b/scripts/apps/missile-dialog.js index 72aa2ec..53512cc 100644 --- a/scripts/apps/missile-dialog.js +++ b/scripts/apps/missile-dialog.js @@ -21,18 +21,7 @@ export class MissileDialog extends FormApplication { this.data.targets = []; } - static async _clearTargets() { - // - const missileEffects = Sequencer.EffectManager.getEffects({ name: 'missile-target-*' }); - if (missileEffects.length > 0) { - console.log("ASE Missile effects leftover detected...", missileEffects); - await Sequencer.EffectManager.endEffects({ name: 'missile-target-*' }); - } - } - static async registerHooks() { - console.log('Clearing ASE Magic Missile Targets...'); - //Hooks.on("sequencerEffectManagerReady", MissileDialog._clearTargets); return; }