From 9be0f032e80c6b4ebe0d1180a5835f6e7d95dbb1 Mon Sep 17 00:00:00 2001 From: eoineoineoin Date: Wed, 18 Sep 2024 02:45:01 +0100 Subject: [PATCH] Fix DistanceJoints drawn by physics debug system (#5439) Co-authored-by: Eoin Mcloughlin --- Robust.Client/Debugging/DebugPhysicsSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robust.Client/Debugging/DebugPhysicsSystem.cs b/Robust.Client/Debugging/DebugPhysicsSystem.cs index 757dd5a955a..c916c264648 100644 --- a/Robust.Client/Debugging/DebugPhysicsSystem.cs +++ b/Robust.Client/Debugging/DebugPhysicsSystem.cs @@ -544,7 +544,7 @@ private void DrawJoint(DrawingHandleWorld worldHandle, Joint joint) switch (joint) { case DistanceJoint: - worldHandle.DrawLine(xf1, xf2, JointColor); + worldHandle.DrawLine(p1, p2, JointColor); break; case PrismaticJoint prisma: var pA = Transform.Mul(xfa, joint.LocalAnchorA);