Skip to content

Commit

Permalink
cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
Faizan Ahmad committed Feb 21, 2022
1 parent e6eed83 commit a712116
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions scripts/apps/missile-dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a712116

Please sign in to comment.