Fix low wall overlays (#2788)

Most noticeable when rotating walls I think which Saltern doesn't have.

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
metalgearsloth
2020-12-26 18:08:01 +11:00
committed by GitHub
parent 5247ad60af
commit 73579bcd07

View File

@@ -39,6 +39,7 @@ namespace Content.Client.GameObjects.Components
_overlayEntity = Owner.EntityManager.SpawnEntity("LowWallOverlay", Owner.Transform.Coordinates);
_overlayEntity.Transform.AttachParent(Owner);
_overlayEntity.Transform.LocalPosition = Vector2.Zero;
_overlaySprite = _overlayEntity.GetComponent<ISpriteComponent>();