mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Use max_sync_offset constant
This commit is contained in:
@ -98,7 +98,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate
|
|||||||
{
|
{
|
||||||
inst.ChildrenOfType<GameplayClockContainer>().Single().Start();
|
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);
|
inst.Beatmap.Track.AddAdjustment(AdjustableProperty.Frequency, catchupFrequencyAdjustment);
|
||||||
else
|
else
|
||||||
inst.Beatmap.Track.RemoveAdjustment(AdjustableProperty.Frequency, catchupFrequencyAdjustment);
|
inst.Beatmap.Track.RemoveAdjustment(AdjustableProperty.Frequency, catchupFrequencyAdjustment);
|
||||||
|
Reference in New Issue
Block a user