From e7e64379dd5e2118d44225e7f097acd43cad979c Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 10 Aug 2021 15:12:58 -0400 Subject: [PATCH] () --- core/src/mindustry/async/PhysicsProcess.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/mindustry/async/PhysicsProcess.java b/core/src/mindustry/async/PhysicsProcess.java index c8594a3ee2..c62281802c 100644 --- a/core/src/mindustry/async/PhysicsProcess.java +++ b/core/src/mindustry/async/PhysicsProcess.java @@ -42,10 +42,10 @@ public class PhysicsProcess implements AsyncProcess{ if(entity.physref == null){ PhysicsBody body = new PhysicsBody(); - body.x = entity.x(); - body.y = entity.y(); + body.x = entity.x; + body.y = entity.y; body.mass = entity.mass(); - body.radius = entity.hitSize() / 2f; + body.radius = entity.hitSize / 2f; PhysicRef ref = new PhysicRef(entity, body); refs.add(ref);