From e73701187d58db96bf950287f9d71778e41b4db1 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Mon, 31 May 2021 21:31:55 +1000 Subject: [PATCH] Use ID for pulljoint (#4118) --- .../GameObjects/Components/Pulling/SharedPullableComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/GameObjects/Components/Pulling/SharedPullableComponent.cs b/Content.Shared/GameObjects/Components/Pulling/SharedPullableComponent.cs index 0588496c4e..b0cc4b0bb5 100644 --- a/Content.Shared/GameObjects/Components/Pulling/SharedPullableComponent.cs +++ b/Content.Shared/GameObjects/Components/Pulling/SharedPullableComponent.cs @@ -158,7 +158,7 @@ namespace Content.Shared.GameObjects.Components.Pulling var length = Math.Max(union.Size.X, union.Size.Y) * 0.75f; _physics.WakeBody(); - _pullJoint = pullerPhysics.CreateDistanceJoint(_physics); + _pullJoint = pullerPhysics.CreateDistanceJoint(_physics, $"pull-joint-{_physics.Owner.Uid}"); // _physics.BodyType = BodyType.Kinematic; // TODO: Need to consider their original bodytype _pullJoint.CollideConnected = false; _pullJoint.Length = length * 0.75f;