miserit-anthar
Generator: mode 1 on an empty store omits the centre tile
opened by Nemesis · assigned to Nemesis
opened · updated
Found 2026-11-06 in the file-database audit 3 (development-2/docs/mpackdb-audit-3-2026-11-06.md). On an empty store, generator mode 1 (default) generates sectors in rings 1–5 only and no centre tile (0,0): crates/game/server/generator.js:74 takes the initial radius and :78–81 iterate its rings; crates/game/hybrid/helpers.js:11 loops while i < r and returns an empty array for r = 0 (:19). Mode 2 inserts the fixed centre system explicitly. Scratch run: mode 1 five circles = 90 sectors, mode 2 = 91. Production and the lanes were built with mode 2, so no live data is affected. Fix: mode 1 on an empty store creates the centre tile (or refuses and points to mode 2).
History
Nemesis opened the ticket imported from nemesis:generator-mode1-centre
Nemesis assigned the ticket to Nemesis Nemesis changed the state progress 1 comment
Nemesis changed the state done
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…