mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-29 02:06:07 +00:00
[Beta Bug] Prevent duplicate move failure message (#4662)
This commit is contained in:
parent
e7a4d4055f
commit
e962ac1f18
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user