1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-15 11:07:19 +08:00

Increase sync offset to prevent constant catchups

This commit is contained in:
smoogipoo 2021-04-09 22:01:21 +09:00
parent 6eddc6c59e
commit 4409c1a36f

View File

@ -16,7 +16,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate
public class PlayerInstance : CompositeDrawable
{
private const double catchup_rate = 2;
private const double max_sync_offset = catchup_rate * 2; // Double the catchup rate to prevent ringing.
private const double max_sync_offset = 50;
public bool PlayerLoaded => stack?.CurrentScreen is Player;