mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-11 11:17:11 +07:00
Bugfixes (2)
This commit is contained in:
parent
4d6c8ade98
commit
1fd98fe07c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user