Use cancel function instead of setting this.cancelled

This commit is contained in:
innerthunder 2024-10-14 17:16:14 -07:00
parent 41ad255739
commit 70d12d8689

View File

@ -149,7 +149,7 @@ export class MovePhase extends BattlePhase {
if (targets.length === 0 || (moveQueue.length && moveQueue[0].move === Moves.NONE)) {
this.showMoveText();
this.showFailedText();
this.cancelled = true;
this.cancel();
}
}