From 65cffbba0c6c597ecc8e290ab0452654f713344a Mon Sep 17 00:00:00 2001 From: Logan McNaughton <848146+loganmc10@users.noreply.github.com> Date: Fri, 12 Jun 2026 07:36:56 +0200 Subject: [PATCH] cap recommendation (#1062) --- src/ui/netplay.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/netplay.rs b/src/ui/netplay.rs index 1b5e6d7..a3118f5 100644 --- a/src/ui/netplay.rs +++ b/src/ui/netplay.rs @@ -497,7 +497,7 @@ fn update_ping( 60.0 }; let recommendation = - (ping as f64 / (1000.0 / refresh_rate)) as i32 + 1; + ((ping as f64 / (1000.0 / refresh_rate)) as i32 + 1).min(8); if handle.get_netplay_recommended_delay() == 0 { handle.set_netplay_input_delay(recommendation);