Open supported optional modules through normal lobby previews

This commit is contained in:
Quintine committed 2026-10-17 17:22:08 +11:00
1 parent b8ad2f011f
commit 210aa04811
17 files changed
+275 -78

No files matched your search

-4
View File
@@ -205,10 +205,6 @@ for (const [advanced, seed] of [
void test(`genuine ${advanced ? 'Advanced' : 'Basic'} Discovery seed ${seed} completes through JSON bot batches with conserved pieces`, () =>
withEngineSeed(seed, () => {
const lobby = discoveryLobby(advanced);
const publicBefore = structuredClone(lobby);
assert.throws(() => applyAction(lobby, lobby.host, { type: 'start' }));
assert.deepEqual(lobby, publicBefore);
let game = initializeDiscoveryGameForAudit(lobby);
game.players.forEach((player, index) => {
player.bot = DIFFICULTIES[index];