From 37e2154019b96e81502715146190b3890801b290 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Mon, 25 Apr 2022 17:24:40 +1000 Subject: [PATCH] Fix pullchain prediction (#7768) --- Content.Client/Physics/Controllers/MoverController.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Content.Client/Physics/Controllers/MoverController.cs b/Content.Client/Physics/Controllers/MoverController.cs index 01441b98d8..c93c142da3 100644 --- a/Content.Client/Physics/Controllers/MoverController.cs +++ b/Content.Client/Physics/Controllers/MoverController.cs @@ -54,6 +54,12 @@ namespace Content.Client.Physics.Controllers { pullerBody.Predict = false; body.Predict = false; + + if (TryComp(player, out var playerPuller) && playerPuller.Pulling != null && + TryComp(playerPuller.Pulling, out var pulledBody)) + { + pulledBody.Predict = false; + } } }