summaryrefslogtreecommitdiff
path: root/scene/2d/physical_bone_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/physical_bone_2d.h')
-rw-r--r--scene/2d/physical_bone_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/physical_bone_2d.h b/scene/2d/physical_bone_2d.h
index 9f31c22031..22d329c320 100644
--- a/scene/2d/physical_bone_2d.h
+++ b/scene/2d/physical_bone_2d.h
@@ -49,7 +49,7 @@ private:
NodePath bone2d_nodepath;
bool follow_bone_when_simulating = false;
- Joint2D *child_joint;
+ Joint2D *child_joint = nullptr;
bool auto_configure_joint = true;
bool simulate_physics = false;