diff --git a/app/diorama/scene.ts b/app/diorama/scene.ts index c83e5e5..9330b83 100644 --- a/app/diorama/scene.ts +++ b/app/diorama/scene.ts @@ -826,12 +826,13 @@ export function buildScene(village: VillageState, frame: number | { width: numbe // One at a time, so the layers keep the order they were added in. decals: [...decalFaces, ...shadows].flatMap((face) => toPolys([face])), // Wall segments keep their own outlines; the band below covers the stretches between. - objects: objects.map(({ key, polys, building, planned, life }) => ({ + objects: objects.map(({ key, polys, building, planned, life, walker }) => ({ key, polys, building: building ? { ...building, hit: hitOutline(polys, building.ring) } : undefined, planned, life, + walker, })), // Centred halfway up the palisade, so the band covers the wall itself, not only its foot. wallBand: wall ? { id: wall.id, ring: { ...screenRing(0, 0, Rv), cy: -wallTop / 2 }, width: U * 1.6 + wallTop } : null,