diff --git a/app/react/components/pixi/targeting-grid.jsx b/app/react/components/pixi/targeting-grid.jsx index 1d3de01..d5441b9 100644 --- a/app/react/components/pixi/targeting-grid.jsx +++ b/app/react/components/pixi/targeting-grid.jsx @@ -7,6 +7,8 @@ import {Sprite} from '@pixi/sprite'; import {useRadians} from '@/react/context/radians.js'; +import {deferredLighting} from './lights.js'; + const tileSize = {x: 16, y: 16}; const radius = 9; @@ -68,6 +70,7 @@ const TargetingGridInternal = PixiComponent('TargetingGrid', { container.mask = area; const top = new Container(); top.addChild(container, area); + top.parentGroup = deferredLighting.diffuseGroup; return top; }, applyProps: ({children: [container]}, oldProps, {x, y, radians}) => {