Explicitly check against Moves.NONE

Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
This commit is contained in:
Sirz Benjie 2025-05-26 23:18:04 -05:00
parent e1e7287919
commit 1df3ac0962
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -284,7 +284,7 @@ export class CommandPhase extends FieldPhase {
multiple: move.targets.length > 1,
};
if (!moveId) {
if (moveId === Moves.NONE) {
turnCommand.targets = [this.fieldIndex];
}