Fix low tickrate eye lerping (#21001)
This commit is contained in:
@@ -132,7 +132,7 @@ public sealed class EyeLerpingSystem : EntitySystem
|
|||||||
return content.TargetZoom;
|
return content.TargetZoom;
|
||||||
}
|
}
|
||||||
|
|
||||||
var change = diff * 8f * frameTime;
|
var change = diff * Math.Min(8f * frameTime, 1);
|
||||||
|
|
||||||
return eye.Zoom + change;
|
return eye.Zoom + change;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user