From 5ccd18416c57d03598f48cd09cb12680709d5992 Mon Sep 17 00:00:00 2001 From: schmidtc1 <62030095+schmidtc1@users.noreply.github.com> Date: Sun, 29 Dec 2024 10:05:33 -0500 Subject: [PATCH] Update src/phases/command-phase.ts Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> --- src/phases/command-phase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases/command-phase.ts b/src/phases/command-phase.ts index e1f08f5522b..b1780123197 100644 --- a/src/phases/command-phase.ts +++ b/src/phases/command-phase.ts @@ -81,7 +81,7 @@ export class CommandPhase extends FieldPhase { moveQueue.shift(); } - if (moveQueue.length !== 0) { + if (moveQueue.length > 0) { const queuedMove = moveQueue[0]; if (!queuedMove.move) { this.handleCommand(Command.FIGHT, -1);