From f34deabd10da32793075d5f15129da108cc9bc38 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Tue, 15 Oct 2019 17:55:35 +0200 Subject: Correct change made to joints_2d.cpp by 072e403. --- scene/2d/joints_2d.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'scene') 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()) -- cgit v1.2.3