mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 23:42:18 +02:00
Explicitly check against Moves.NONE
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
This commit is contained in:
parent
1346fc1334
commit
52046371f5
@ -283,7 +283,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