Compose native Homeworld skill and Discovery modules
This commit is contained in:
1 parent
a8758bc6b5
commit
3fb047c93d
23 files changed
+1732
-107
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user