fix: match scenario 2601 monthly seed progression

This commit is contained in:
2026-08-03 18:56:23 +00:00
parent 2f17584075
commit 58b9a230a7
92 changed files with 3696 additions and 587 deletions
@@ -69,6 +69,8 @@ export const createProcessWarIncomeHandler = (options: {
for (const city of cities) {
const dead = asNumber(city.meta.dead, 0);
world.updateCity(city.id, {
// MariaDB rounds the SQL expression when assigning it to
// Ref's integer pop column (including an exact .5 result).
population: Math.round(city.population + dead * 0.2),
meta: {
...city.meta,