From 58ae37957e2921becdf6f3dad42af16bb27fcd2c Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Mon, 16 Oct 2023 16:26:45 +1100 Subject: [PATCH] Fix low tickrate eye lerping (#21001) --- Content.Client/Eye/EyeLerpingSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Client/Eye/EyeLerpingSystem.cs b/Content.Client/Eye/EyeLerpingSystem.cs index 79af9e719b..8e54196b81 100644 --- a/Content.Client/Eye/EyeLerpingSystem.cs +++ b/Content.Client/Eye/EyeLerpingSystem.cs @@ -132,7 +132,7 @@ public sealed class EyeLerpingSystem : EntitySystem return content.TargetZoom; } - var change = diff * 8f * frameTime; + var change = diff * Math.Min(8f * frameTime, 1); return eye.Zoom + change; } -- 2.51.2