From fb1a286a86305826035748c26b9f4a0831841392 Mon Sep 17 00:00:00 2001 From: cha0s Date: Tue, 23 Jul 2024 21:40:28 -0500 Subject: [PATCH] fix: destroyer --- app/react/components/devtools/tiles.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/react/components/devtools/tiles.jsx b/app/react/components/devtools/tiles.jsx index 2d4f4e3..57690d4 100644 --- a/app/react/components/devtools/tiles.jsx +++ b/app/react/components/devtools/tiles.jsx @@ -20,11 +20,11 @@ export default function Tiles({eventsChannel}) { const [ecs] = useEcs(); useEffect(() => { if (!ecs) { - return false; + return; } const master = ecs.get(1); if (!master) { - return false; + return; } const {TileLayers} = master; const {area, tileSize} = TileLayers.layer(0);