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))