From 95783d0ddc5b633a142731ea2e52f9109beb1c63 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 31 Mar 2026 20:13:54 +0200 Subject: [PATCH] Add support for pointLight and spotLight entities in App.tsx --- src/app/App.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/app/App.tsx b/src/app/App.tsx index c43cdbd2..c12f6d05 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -1210,6 +1210,16 @@ export function App({ store, initialStatusMessage }: AppProps) { let nextEntity: EntityInstance; switch (kind) { + case "pointLight": + nextEntity = createPointLightEntity({ + position: basePosition + }); + break; + case "spotLight": + nextEntity = createSpotLightEntity({ + position: basePosition + }); + break; case "playerStart": nextEntity = createPlayerStartEntity({ position: basePosition