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