This commit is contained in:
Anuken
2024-05-26 09:31:40 -04:00
parent 617d5581e0
commit f1f17965bc
5 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform
Time.setDeltaProvider(() -> {
float result = Core.graphics.getDeltaTime() * 60f;
return (Float.isNaN(result) || Float.isInfinite(result)) ? 1f : Mathf.clamp(result, 0.0001f, 60f / 10f);
return (Float.isNaN(result) || Float.isInfinite(result)) ? 1f : Mathf.clamp(result, 0.0001f, maxDeltaClient);
});
UI.loadColors();