From e3aae475a429d719c0e4f359aff475a4d6127b63 Mon Sep 17 00:00:00 2001 From: Claude Code Date: Tue, 31 Mar 2026 22:47:31 -0700 Subject: [PATCH] =?UTF-8?q?ui(guide):=20=F0=9F=92=84=20Enhance=20Populatio?= =?UTF-8?q?nDashboardPage=20component=20with=20improved=20population=20met?= =?UTF-8?q?rics=20visualization=20and=20interactivity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- .../guide/src/pages/PopulationDashboardPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games/age-of-dwarves/guide/src/pages/PopulationDashboardPage.tsx b/games/age-of-dwarves/guide/src/pages/PopulationDashboardPage.tsx index ee2577fe..ebd7ba19 100644 --- a/games/age-of-dwarves/guide/src/pages/PopulationDashboardPage.tsx +++ b/games/age-of-dwarves/guide/src/pages/PopulationDashboardPage.tsx @@ -4,7 +4,7 @@ import { FadeIn, PageTitle, Section, SectionHeading, Prose, FilterRow, FilterChi import { Heading, Text } from '@lilith/ui-typography' import { ALL_BIOMES, BIOME_MAP, QUALITY_COLORS } from '@/data/ecology' import type { GridState, TileState } from '@magic-civ/engine-ts' -import { classifyBiome } from '@magic-civ/engine-ts' +import { classifyBiome, DEFAULT_DT } from '@magic-civ/engine-ts' import { WasmEcologyPhysics, WasmGrid } from '@magic-civ/physics-rs' const W = 30 @@ -140,7 +140,7 @@ function useSimulation(): TurnRecord[] { const wg = WasmGrid.fromJSON(grid) for (let t = 1; t <= MAX_TURNS; t++) { - eco.processStep(wg) + eco.processStep(wg, DEFAULT_DT) if (t % 5 === 0 || t <= 10 || t === MAX_TURNS) { grid = wg.toJSON() as GridState records.push(recordTurn(grid, t))