cap recommendation (#1062)

This commit is contained in:
Logan McNaughton
2026-06-12 07:36:56 +02:00
committed by GitHub
parent 5f8e3b9760
commit 65cffbba0c
+1 -1
View File
@@ -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);