From 70edcc04de1bf9efb13f04c519ced9a967024d85 Mon Sep 17 00:00:00 2001 From: cha0s Date: Sat, 13 Jul 2024 03:04:16 -0500 Subject: [PATCH] fun: darkness later --- app/react-components/pixi/ecs.jsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/react-components/pixi/ecs.jsx b/app/react-components/pixi/ecs.jsx index 32bc83e..9045f1f 100644 --- a/app/react-components/pixi/ecs.jsx +++ b/app/react-components/pixi/ecs.jsx @@ -89,15 +89,15 @@ export default function Ecs({applyFilters, camera, scale}) { setProjected(Wielder.activeItem()?.project(Position.tile, Direction.direction)); } }, [ecs, mainEntity, scale]); - useEffect(() => { - setFilters( - applyFilters - ? [ - ...(night ? [night] : []) - ] - : [], - ); - }, [applyFilters, night]) + // useEffect(() => { + // setFilters( + // applyFilters + // ? [ + // ...(night ? [night] : []) + // ] + // : [], + // ); + // }, [applyFilters, night]) return (