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);