mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-01 02:30:40 +03:00
Made plans' animation framerate-independent (#12187)
A minor fix of InputHandler#drawOtherBuildPlans
This commit is contained in:
@@ -1424,7 +1424,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
||||
overlappingPlayer= player;
|
||||
}
|
||||
|
||||
plan.animScale = Mathf.lerpDelta(plan.animScale, 1f, 0.2f * Time.delta);
|
||||
plan.animScale = Mathf.lerpDelta(plan.animScale, 1f, 0.2f);
|
||||
plan.block.drawOtherPlayerPlan(plan, player.planEachable, overlappingPlan == plan ? 0.7f : 0.25f);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user