Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/components/CityCanvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1885,7 +1885,9 @@ function Decorations({ items }: { items: CityDecoration[] }) {
case 'fountain': return <Fountain key={`fountain-${i}`} position={d.position} />;
case 'sidewalk': return <Sidewalk key={`walk-${i}`} position={d.position} size={d.size!} />;
case 'autoRickshaw': return <AutoRickshaw key={`rick-${i}`} position={d.position} rotation={d.rotation} />;
case 'marinaLighthouse': return <MarinaLighthouse key={`lighthouse-${i}`} position={d.position} />;
case 'marinaLighthouse':
case 'vidhanaSoudha':
return <MarinaLighthouse key={`marina-${i}`} position={d.position} />;
case 'busStop': return null; // Handled separately in BusTransit component to make it interactive!
default: return null;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/DeveloperPalace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,4 +253,4 @@ export default function DeveloperPalace({
<pointLight position={[0, antennaY + 68, 0]} color={themeAccent} intensity={20} distance={100} decay={2} />
</group>
);
}
}
2 changes: 2 additions & 0 deletions src/lib/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,7 @@ export function generateCityLayout(devs: DeveloperRecord[]): {
data_ai: ['bangalorePalace'],
};


const placedTypes = new Set<string>();

for (const dz of districtZones) {
Expand All @@ -1039,6 +1040,7 @@ export function generateCityLayout(devs: DeveloperRecord[]): {
rotation: rot,
variant: 0,
});

placedTypes.add(type);
});
}
Expand Down
Loading