fun: darkness later
This commit is contained in:
parent
170a874faf
commit
70edcc04de
|
@ -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 (
|
||||
<Container
|
||||
scale={scale}
|
||||
|
|
Loading…
Reference in New Issue
Block a user