From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Mon, 16 Oct 2023 11:49:41 +0000 (+1100) Subject: Fix item drop mispredicts (#21035) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=91ea140ff174c4271ef6b870c31de30162fb8c30;p=space-station-14.git Fix item drop mispredicts (#21035) --- diff --git a/Content.Shared/Hands/EntitySystems/SharedHandsSystem.Drop.cs b/Content.Shared/Hands/EntitySystems/SharedHandsSystem.Drop.cs index 77752c4fbd..5d0eaaf994 100644 --- a/Content.Shared/Hands/EntitySystems/SharedHandsSystem.Drop.cs +++ b/Content.Shared/Hands/EntitySystems/SharedHandsSystem.Drop.cs @@ -104,6 +104,8 @@ public abstract partial class SharedHandsSystem var target = targetDropLocation.Value.ToMap(EntityManager, TransformSystem); TransformSystem.SetWorldPosition(itemXform, GetFinalDropCoordinates(uid, userXform.MapPosition, target)); + // TODO: Temporary measure until we get engine method for setworldpos nolerp. + TransformSystem.DeactivateLerp(itemXform); return true; }