Compose classic Homeworld Skills and Discovery with physical custody

This commit is contained in:
Quintine committed 2026-10-06 18:07:41 +11:00
1 parent 4a3bd8fe90
commit e2dcebca35
24 files changed
+1426 -54

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ export function homeworldGameIntegrity(g: Game): void {
const beforeForces =
g.status === 'lobby' ||
(g.status === 'setup' &&
(g.setupStage === 'prediction' || g.setupStage === 'traitors'));
(g.setupStage === 'prediction' || (g.setupStage === 'leaderSkills' && !!g.leaderSkills) || g.setupStage === 'traitors'));
if (beforeForces) {
if (state.custody !== null)
throw new HomeworldCustodyError(