summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-10-21 15:53:47 +0200
committerGitHub <noreply@github.com>2019-10-21 15:53:47 +0200
commitb6865f2f79471c692d2c641244babaad45cd9fbd (patch)
tree9e7c928a9c0dcc79f2552009fa693f62feff9976
parentd33af87b61288fa960f0b1dc5fc5bd76800814d8 (diff)
parentf34deabd10da32793075d5f15129da108cc9bc38 (diff)
Merge pull request #32857 from madmiraal/fix-072e403
Correct change made to joints_2d.cpp by 072e403.
-rw-r--r--scene/2d/joints_2d.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/scene/2d/joints_2d.cpp b/scene/2d/joints_2d.cpp
index d8156a0afe..12fb18cedc 100644
--- a/scene/2d/joints_2d.cpp
+++ b/scene/2d/joints_2d.cpp
@@ -61,8 +61,6 @@ void Joint2D::_update_joint(bool p_only_free) {
if (!body_a || !body_b)
return;
- SWAP(body_a, body_b);
-
joint = _configure_joint(body_a, body_b);
if (!joint.is_valid())