From 7372bf37c28561ef66898995f607aba4f2c14d6f Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 10 Jan 2021 15:23:15 -0500 Subject: [PATCH] Fixed #4301 --- core/src/mindustry/entities/comp/UnitComp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/entities/comp/UnitComp.java b/core/src/mindustry/entities/comp/UnitComp.java index fd3f1810ff..64a717d75e 100644 --- a/core/src/mindustry/entities/comp/UnitComp.java +++ b/core/src/mindustry/entities/comp/UnitComp.java @@ -105,7 +105,7 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I @Override public float range(){ - return type.range; + return type.maxRange; } @Replace