Files
Space-Game/apps/game
francy51 71c6d18817 fix: prevent panic on randomize when arms >= 5 causes twist floor to exceed max
Clamp effective_min to DISK_TWIST_MAX in randomize_disk() so gen_range
never receives an empty range. Also guard all params.disks.len() - 1
subtractions with saturating_sub to prevent overflow if disks is empty.
2026-06-10 11:00:40 -04:00
..