Skip to content

Commit

Permalink
Add lenience to FramedBeatmapClock workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Aug 3, 2023
1 parent a472fe6 commit a17dd31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game/Beatmaps/FramedBeatmapClock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ protected override void Update()
{
base.Update();

if (Source != null && Source is not IAdjustableClock && Source.CurrentTime < decoupledClock.CurrentTime)
if (Source != null && Source is not IAdjustableClock && Source.CurrentTime < decoupledClock.CurrentTime - 100)
{
// InterpolatingFramedClock won't interpolate backwards unless its source has an ElapsedFrameTime.
// See https://github.com/ppy/osu-framework/blob/ba1385330cc501f34937e08257e586c84e35d772/osu.Framework/Timing/InterpolatingFramedClock.cs#L91-L93
Expand Down

0 comments on commit a17dd31

Please sign in to comment.