tekki mariani 732d9100ab 🐛 fix terrain canvas not updating after tile changes (Issue #22)
CHANGE_TILE only called worldSystem.setTile() (built-tile layer only),
never refreshTerrainTile() — so chopped trees stayed visually dark-green
(FOREST color) even though the tile type was already DARK_GRASS.

- adapter.onAction for CHANGE_TILE now also calls refreshTerrainTile()
  → all tile transitions (chop, mine, seedling maturation) update the
    canvas pixel immediately and consistently in one place
- Remove now-redundant explicit refreshTerrainTile() call in
  TreeSeedlingSystem (the adapter handler covers it)
- Tile-recovery path in GameScene (stateManager.tickTileRecovery) is
  NOT routed through the adapter, so its manual refreshTerrainTile()
  call is kept as-is

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 12:21:23 +00:00
2026-03-21 12:37:51 +00:00
2026-03-23 10:48:52 +00:00
2026-03-21 13:56:19 +00:00
2026-03-20 08:11:31 +00:00
2026-03-20 08:11:31 +00:00
2026-03-20 08:11:31 +00:00
2026-03-20 08:11:31 +00:00
Description
A peaceful settlement simulation focused on inhabitants
524 KiB
Languages
TypeScript 99.5%
HTML 0.5%