From d696d5154040f3579ca14df00b6bc730ac7972a2 Mon Sep 17 00:00:00 2001
From: Snorre <snorre@altschul.dk>
Date: Sat, 5 Apr 2025 19:03:13 +0200
Subject: [PATCH] h

---
 scripts/XRHand.cs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/XRHand.cs b/scripts/XRHand.cs
index 0c78fa1..a892e71 100644
--- a/scripts/XRHand.cs
+++ b/scripts/XRHand.cs
@@ -61,9 +61,9 @@ public partial class XRHand : XRController3D
                 PinJoint3D joint2 = new();
                 joint2.NodeB = body.GetPath();
                 joint2.NodeA = rb.GetPath();
-                joints.Add(joint);
-                body.AddChild(joint);
-                joint.Position = Vector3.Zero;
+                joints.Add(joint2);
+                body.AddChild(joint2);
+                joint2.Position = Vector3.Zero;
             }
         }
     }