Merge pull request #32857 from madmiraal/fix-072e403

Correct change made to joints_2d.cpp by 072e403.
This commit is contained in:
Rémi Verschelde 2019-10-21 15:53:47 +02:00 committed by GitHub
commit b6865f2f79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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())