summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2019-10-15 17:55:35 +0200
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2019-10-15 17:55:35 +0200
commitf34deabd10da32793075d5f15129da108cc9bc38 (patch)
tree41984ba530d2b209a7d4ad75ae61318e64b5e7c9 /scene
parenta1033aea51515cd5f831cedf9834ea376200356a (diff)
Correct change made to joints_2d.cpp by 072e403.
Diffstat (limited to 'scene')
-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())