From 4ec81b0669e094530b5646abb83a5bd8326fd316 Mon Sep 17 00:00:00 2001 From: MEEP of Faith <54301439+MEEPofFaith@users.noreply.github.com> Date: Wed, 24 Mar 2021 16:09:20 -0700 Subject: [PATCH] Make Repair Points affected by overdrive (#4985) --- core/src/mindustry/world/blocks/units/RepairPoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/world/blocks/units/RepairPoint.java b/core/src/mindustry/world/blocks/units/RepairPoint.java index 905c1c63f7..b84ed1d119 100644 --- a/core/src/mindustry/world/blocks/units/RepairPoint.java +++ b/core/src/mindustry/world/blocks/units/RepairPoint.java @@ -102,8 +102,8 @@ public class RepairPoint extends Block{ if(target != null && (target.dead() || target.dst(tile) - target.hitSize/2f > repairRadius || target.health() >= target.maxHealth())){ target = null; }else if(target != null && consValid()){ - target.heal(repairSpeed * Time.delta * strength * efficiency()); - rotation = Mathf.slerpDelta(rotation, angleTo(target), 0.5f); + target.heal(repairSpeed * strength * edelta()); + rotation = Mathf.slerpDelta(rotation, angleTo(target), 0.5f * efficiency() * timeScale); targetIsBeingRepaired = true; }