mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
Add lenience to FramedBeatmapClock
workaround
This commit is contained in:
parent
dc9c68b642
commit
75c1d5ad7f
@ -124,7 +124,7 @@ namespace osu.Game.Beatmaps
|
|||||||
{
|
{
|
||||||
base.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.
|
// 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
|
// See https://github.com/ppy/osu-framework/blob/ba1385330cc501f34937e08257e586c84e35d772/osu.Framework/Timing/InterpolatingFramedClock.cs#L91-L93
|
||||||
|
Loading…
Reference in New Issue
Block a user