Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2021-03-25 12:51:31 -04:00
2 changed files with 3 additions and 3 deletions

View File

@@ -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;
}