Compose native Homeworld skill and Discovery modules

This commit is contained in:
Quintine committed 2026-10-07 05:16:26 +11:00
1 parent a8758bc6b5
commit 3fb047c93d
23 files changed
+1732 -107

No files matched your search

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