diff --git a/Content.Server/Morgue/Components/MorgueEntityStorageComponent.cs b/Content.Server/Morgue/Components/MorgueEntityStorageComponent.cs index 6c0b027000..77b6ce95f1 100644 --- a/Content.Server/Morgue/Components/MorgueEntityStorageComponent.cs +++ b/Content.Server/Morgue/Components/MorgueEntityStorageComponent.cs @@ -16,6 +16,7 @@ using Robust.Shared.Containers; using Robust.Shared.GameObjects; using Robust.Shared.IoC; using Robust.Shared.Localization; +using Robust.Shared.Map; using Robust.Shared.Maths; using Robust.Shared.Player; using Robust.Shared.Serialization.Manager.Attributes; @@ -106,8 +107,7 @@ namespace Content.Server.Morgue.Components TrayContainer?.Remove(_tray); } - _tray.Transform.WorldPosition = Owner.Transform.WorldPosition + Owner.Transform.LocalRotation.GetCardinalDir().ToVec(); - _tray.Transform.AttachParent(Owner); + _tray.Transform.Coordinates = new EntityCoordinates(Owner.Uid, 0, -1); base.OpenStorage(); }