summaryrefslogtreecommitdiff
path: root/scene/2d/joints_2d.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-03-03 16:41:37 +0100
committerGitHub <noreply@github.com>2021-03-03 16:41:37 +0100
commitd0e62518a8035553429a759826c59aa7975460ef (patch)
tree2fb34f5096468f28abaa37ca36c0689ab0f68f72 /scene/2d/joints_2d.h
parent4d1f83a621a03a42a6ab7765084db84aab32256f (diff)
parent2dc5ff0caa70944645272ad0684d51b45391a11d (diff)
Merge pull request #46578 from nekomatata/fix-joint-remove-body-regression
Fix Joint2D/Joint3D node path reset on scene switch
Diffstat (limited to 'scene/2d/joints_2d.h')
-rw-r--r--scene/2d/joints_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/joints_2d.h b/scene/2d/joints_2d.h
index 3607a6c176..08e02ee29d 100644
--- a/scene/2d/joints_2d.h
+++ b/scene/2d/joints_2d.h
@@ -51,7 +51,7 @@ class Joint2D : public Node2D {
protected:
void _disconnect_signals();
- void _body_exit_tree(const ObjectID &p_body_id);
+ void _body_exit_tree();
void _update_joint(bool p_only_free = false);
void _notification(int p_what);