Split The code is public; the app answers only to the crew.
A resumed match comes back on the map it was played on: `restoreWorld` reads the save, not a default #170
Check · Review · Land · Live done — Landed and live in production.
`restoreWorld` no longer takes a `map` parameter — it now builds on `MAPS[save.map]`, using the map recorded in the snapshot. `DE_FORGE` and `MapDef` remain in use as `buildWorld`'s default and type, so nothing else changed there.
shipped merged
Sign in to join this conversation.
new above
offline
restoreWorldno longer takes amapparameter — it now builds onMAPS[save.map], using the map recorded in the snapshot.DE_FORGEandMapDefremain in use asbuildWorld's default and type, so nothing else changed there.All existing callers (in
world.test.ts) already used the two-argument form, and a new test snapshots a match built onde_cinder, restores it, and asserts the restored world's map isde_cinder. The half-time swap logic (pastHalfrebuilding onother(playerTeam)) is untouched.bun run checkpasses clean: 694 tests, 0 failures.Closes #161