diff --git a/src/actors/app.ts b/src/actors/app.ts index 01f1f65..49717ce 100644 --- a/src/actors/app.ts +++ b/src/actors/app.ts @@ -74,6 +74,7 @@ export const appMachine = setup({ const unplayedCivs = context.enabled.filter( (civ) => !context.played.includes(civ), ) + if (unplayedCivs.length === 1) return unplayedCivs[0] // prevent next civ from being the same as the current civ let nextCiv