fix: center sprite

This commit is contained in:
cha0s 2024-06-13 17:49:31 -05:00
parent bf85f90837
commit 566e9175c3

View File

@ -26,6 +26,7 @@ export default function Sprite({entity}) {
}
return (
<PixiSprite
anchor={0.5}
texture={texture}
x={Math.round(entity.Position.x)}
y={Math.round(entity.Position.y)}