Making phases.ts as main pokerogue branch

pull/610/head
Tiduzz 2024-05-07 17:07:13 -03:00
parent b206fa9aa8
commit f9eb355778
1 changed files with 1 additions and 3 deletions

View File

@ -2252,9 +2252,7 @@ export class MovePhase extends BattlePhase {
if ((moveQueue.length && moveQueue[0].move === Moves.NONE) || !targets.length) {
moveQueue.shift();
if (!(this.move.moveId in [Moves.SELF_DESTRUCT,Moves.EXPLOSION,Moves.MISTY_EXPLOSION])){
this.cancel();
}
this.cancel();
}
if (this.cancelled) {