From 80360214df21e00139bcf04b78831c4cdc5fd1d6 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 5 Dec 2018 13:33:03 -0500 Subject: [PATCH] Bar re-scaling --- core/src/io/anuke/mindustry/graphics/OverlayRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/io/anuke/mindustry/graphics/OverlayRenderer.java b/core/src/io/anuke/mindustry/graphics/OverlayRenderer.java index c1ece11c93..e589e674fb 100644 --- a/core/src/io/anuke/mindustry/graphics/OverlayRenderer.java +++ b/core/src/io/anuke/mindustry/graphics/OverlayRenderer.java @@ -202,7 +202,7 @@ public class OverlayRenderer{ void drawBar(Color color, float x, float y, float finion){ finion = Mathf.clamp(finion); - if(finion > 0) finion = Mathf.clamp(finion + 0.2f, 0.24f, 1f); + if(finion > 0) finion = Mathf.clamp(finion, 0.24f, 1f); float len = 3;