]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix item drop mispredicts (#21035)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Mon, 16 Oct 2023 11:49:41 +0000 (22:49 +1100)
committerGitHub <noreply@github.com>
Mon, 16 Oct 2023 11:49:41 +0000 (22:49 +1100)
Content.Shared/Hands/EntitySystems/SharedHandsSystem.Drop.cs

index 77752c4fbdeb7cbf936ed10e0bed8ad1c66c2b96..5d0eaaf994dd915412854332a5cae14b9397b00d 100644 (file)
@@ -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;
     }