mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:20:04 +08:00
Compare with decoupled clock directly to avoid including offsets
This commit is contained in:
parent
20ffbc4676
commit
64cf6b9014
@ -122,7 +122,7 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
base.Update();
|
||||
|
||||
if (Source != null && Source is not IAdjustableClock && Source.CurrentTime < finalClockSource.CurrentTime)
|
||||
if (Source != null && Source is not IAdjustableClock && Source.CurrentTime < decoupledClock.CurrentTime)
|
||||
{
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user