Island Wi-Fi: no new routing fields until you run a zone
emptyR() carried cityWisp, wisp and wispL in every game, so a game with no island zones no longer routed to the same R as main and tests/route-fuzz.test.js failed on its first move. compute() now adds them only while a zone runs (as satU), wispMoney() returns without them, and the agent's results docs say so. tests/wisp-zones.test.js checks that a game without zones, and one below level 2, has none of them. The mp-sim fixtures were written again with tests/lib/mp-sim-fixtures.js (only the three empty fields left them; a second run changes nothing).
This commit is contained in:
parent
66ac7d0af1
commit
5ca8270db9
8 changed files with 14 additions and 12 deletions
2
tests/fixtures/mp-sim/snap.json
vendored
2
tests/fixtures/mp-sim/snap.json
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue