Prevent duplicate move failure message

This commit is contained in:
NightKev 2024-10-14 13:11:20 -07:00
parent 676322e800
commit debd240d76

View File

@ -128,7 +128,9 @@ export class MovePhase extends BattlePhase {
this.lapsePreMoveAndMoveTags(); this.lapsePreMoveAndMoveTags();
this.resolveFinalPreMoveCancellationChecks(); if (!(this.failed || this.cancelled)) {
this.resolveFinalPreMoveCancellationChecks();
}
if (this.cancelled || this.failed) { if (this.cancelled || this.failed) {
this.handlePreMoveFailures(); this.handlePreMoveFailures();