Implement private Tupile intelligence and Homeworld occupation evidence
This commit is contained in:
1 parent
1db11a0187
commit
61689514a0
43 files changed
+3420
-188
No files matched your search
@@ -28,7 +28,8 @@ export function homeworldGameIntegrity(g: Game): void {
|
||||
if (
|
||||
typeof state !== 'object' ||
|
||||
Array.isArray(state) ||
|
||||
Object.keys(state).length !== 1 ||
|
||||
Object.keys(state).some((key) => !['custody', 'historyVersion'].includes(key)) ||
|
||||
(state.historyVersion !== undefined && state.historyVersion !== 1) ||
|
||||
!Object.hasOwn(state, 'custody')
|
||||
)
|
||||
throw new HomeworldCustodyError(
|
||||
|
||||
Reference in new issue
Block a user