Move clock processing to base.Seek()

This commit is contained in:
smoogipoo
2021-04-20 17:35:59 +09:00
parent 5da18c51a4
commit 97fb90d9f4
2 changed files with 7 additions and 6 deletions

View File

@ -123,9 +123,6 @@ namespace osu.Game.Screens.Play
// remove the offset component here because most of the time we want the seek to be aligned to gameplay, not the audio track.
// we may want to consider reversing the application of offsets in the future as it may feel more correct.
base.Seek(time - totalOffset);
// manually process frame to ensure GameplayClock is correctly updated after a seek.
userOffsetClock.ProcessFrame();
}
/// <summary>