mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-23 07:49:36 +02:00
Prevent duplicate move failure message
This commit is contained in:
parent
676322e800
commit
debd240d76
@ -128,7 +128,9 @@ export class MovePhase extends BattlePhase {
|
|||||||
|
|
||||||
this.lapsePreMoveAndMoveTags();
|
this.lapsePreMoveAndMoveTags();
|
||||||
|
|
||||||
|
if (!(this.failed || this.cancelled)) {
|
||||||
this.resolveFinalPreMoveCancellationChecks();
|
this.resolveFinalPreMoveCancellationChecks();
|
||||||
|
}
|
||||||
|
|
||||||
if (this.cancelled || this.failed) {
|
if (this.cancelled || this.failed) {
|
||||||
this.handlePreMoveFailures();
|
this.handlePreMoveFailures();
|
||||||
|
Loading…
Reference in New Issue
Block a user