Made plans' animation framerate-independent (#12187)

A minor fix of InputHandler#drawOtherBuildPlans
This commit is contained in:
Valera
2026-06-20 20:14:00 -04:00
committed by GitHub
parent a586a34f36
commit a10f4455f7
+1 -1
View File
@@ -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);
});
});