From 071f75d1461ae2def1e02737220326232418122b Mon Sep 17 00:00:00 2001 From: mokiros Date: Wed, 11 Oct 2023 16:26:22 +0300 Subject: [PATCH] Fixed "Dropping things makes you teleport" (#20919) --- Content.Shared/Hands/EntitySystems/SharedHandsSystem.Drop.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Hands/EntitySystems/SharedHandsSystem.Drop.cs b/Content.Shared/Hands/EntitySystems/SharedHandsSystem.Drop.cs index 06d6526566..77752c4fbd 100644 --- a/Content.Shared/Hands/EntitySystems/SharedHandsSystem.Drop.cs +++ b/Content.Shared/Hands/EntitySystems/SharedHandsSystem.Drop.cs @@ -103,7 +103,7 @@ public abstract partial class SharedHandsSystem } var target = targetDropLocation.Value.ToMap(EntityManager, TransformSystem); - TransformSystem.SetWorldPosition(userXform, GetFinalDropCoordinates(uid, userXform.MapPosition, target)); + TransformSystem.SetWorldPosition(itemXform, GetFinalDropCoordinates(uid, userXform.MapPosition, target)); return true; } -- 2.51.2