From 1fd98fe07c4c216f690afcb1b18dc4f5b33411c0 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 12 Sep 2020 23:43:03 -0400 Subject: [PATCH] Bugfixes (2) --- core/src/mindustry/async/PhysicsProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/async/PhysicsProcess.java b/core/src/mindustry/async/PhysicsProcess.java index 0f49176c57..36780faec6 100644 --- a/core/src/mindustry/async/PhysicsProcess.java +++ b/core/src/mindustry/async/PhysicsProcess.java @@ -43,7 +43,7 @@ public class PhysicsProcess implements AsyncProcess{ //find entities without bodies and assign them for(Physicsc entity : group){ boolean grounded = entity.isGrounded(); - int bits = grounded ? flying.maskBits : ground.maskBits; + int bits = grounded ? ground.maskBits : flying.maskBits; if(entity.physref() == null){ //add bodies to entities that have none