chore: pass PR1 verification gate (format, lint, coverage)
CI / verify (push) Successful in 48s
CI / verify (pull_request) Successful in 50s

This commit is contained in:
ginnoir
2026-06-11 18:23:43 -05:00
parent cc4955abab
commit 1c5fcc80ad
8 changed files with 127 additions and 19 deletions
+4 -1
View File
@@ -99,7 +99,10 @@ function beginAction(state: GameState, content: Content, actionId: string): void
function startNextFromQueue(state: GameState, content: Content): void {
while (state.actionQueue.length > 0) {
const nextId = state.actionQueue.shift()!;
const nextId = state.actionQueue.shift();
if (!nextId) {
break;
}
if (isActionAvailable(state, content, nextId)) {
beginAction(state, content, nextId);
return;