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));
|
setProjected(Wielder.activeItem()?.project(Position.tile, Direction.direction));
|
||||||
}
|
}
|
||||||
}, [ecs, mainEntity, scale]);
|
}, [ecs, mainEntity, scale]);
|
||||||
useEffect(() => {
|
// useEffect(() => {
|
||||||
setFilters(
|
// setFilters(
|
||||||
applyFilters
|
// applyFilters
|
||||||
? [
|
// ? [
|
||||||
...(night ? [night] : [])
|
// ...(night ? [night] : [])
|
||||||
]
|
// ]
|
||||||
: [],
|
// : [],
|
||||||
);
|
// );
|
||||||
}, [applyFilters, night])
|
// }, [applyFilters, night])
|
||||||
return (
|
return (
|
||||||
<Container
|
<Container
|
||||||
scale={scale}
|
scale={scale}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user