mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 17:12:44 +02:00
Explicitly check against Moves.NONE
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
This commit is contained in:
parent
648a565eea
commit
ecc175f176
@ -283,7 +283,7 @@ export class CommandPhase extends FieldPhase {
|
|||||||
multiple: move.targets.length > 1,
|
multiple: move.targets.length > 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!moveId) {
|
if (moveId === Moves.NONE) {
|
||||||
turnCommand.targets = [this.fieldIndex];
|
turnCommand.targets = [this.fieldIndex];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user