Compose classic Homeworld Skills and Discovery with physical custody
This commit is contained in:
1 parent
4a3bd8fe90
commit
e2dcebca35
24 files changed
+1426
-54
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user