From b38f0b1a59568a2f5d19f53e81ab656273b9e71a Mon Sep 17 00:00:00 2001 From: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Date: Fri, 7 Aug 2026 18:24:53 -0500 Subject: [PATCH] Fix parcel wrap transform parenting via SpawnAtPosition (#44679) (#6399) ParcelWrap: spawn at position, use PopupEntity Co-authored-by: Whatstone <166147148+whatston3@users.noreply.github.com> --- .../ParcelWrap/Systems/ParcelWrappingSystem.ParcelWrap.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Shared/ParcelWrap/Systems/ParcelWrappingSystem.ParcelWrap.cs b/Content.Shared/ParcelWrap/Systems/ParcelWrappingSystem.ParcelWrap.cs index 57b969c0cd7..bb5eae50f34 100644 --- a/Content.Shared/ParcelWrap/Systems/ParcelWrappingSystem.ParcelWrap.cs +++ b/Content.Shared/ParcelWrap/Systems/ParcelWrappingSystem.ParcelWrap.cs @@ -97,7 +97,7 @@ public sealed partial class ParcelWrappingSystem if (target == user) { var selfMsg = Loc.GetString("parcel-wrap-popup-being-wrapped-self"); - _popup.PopupClient(selfMsg, user, user); + _popup.PopupEntity(selfMsg, user, user); } else { @@ -143,7 +143,7 @@ public sealed partial class ParcelWrappingSystem // Spawn the actual parcel entity. var targetTransform = Transform(target); - var spawned = Spawn(GetParcelPrototype(wrapper, target), targetTransform.Coordinates); + var spawned = SpawnAtPosition(GetParcelPrototype(wrapper, target), targetTransform.Coordinates); _transform.SetLocalRotation(spawned, targetTransform.LocalRotation); // If the target is in a container, try to put the parcel in its place in the container.