From: mokiros Date: Wed, 11 Oct 2023 13:26:22 +0000 (+0300) Subject: Fixed "Dropping things makes you teleport" (#20919) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=071f75d1461ae2def1e02737220326232418122b;p=space-station-14.git Fixed "Dropping things makes you teleport" (#20919) --- 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; }