mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 19:27:26 +08:00
Use max_sync_offset constant
This commit is contained in:
parent
7958a257e8
commit
ecd0b84d94
@ -98,7 +98,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate
|
||||
{
|
||||
inst.ChildrenOfType<GameplayClockContainer>().Single().Start();
|
||||
|
||||
if (targetTime < lastFrameTime && targetTime > currentTime + 16)
|
||||
if (targetTime < lastFrameTime && targetTime > currentTime + max_sync_offset)
|
||||
inst.Beatmap.Track.AddAdjustment(AdjustableProperty.Frequency, catchupFrequencyAdjustment);
|
||||
else
|
||||
inst.Beatmap.Track.RemoveAdjustment(AdjustableProperty.Frequency, catchupFrequencyAdjustment);
|
||||
|
Loading…
Reference in New Issue
Block a user