1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 07:23:14 +08:00

Fix replay rewinding not respecting 60fps playback

This commit is contained in:
smoogipoo 2019-04-16 17:47:00 +09:00
parent ed1f05333a
commit ac2eabc9bf

View File

@ -105,7 +105,7 @@ namespace osu.Game.Rulesets.UI
{
if (Math.Abs(manualClock.CurrentTime - newProposedTime) > sixty_frame_time * 1.2f)
{
newProposedTime = manualClock.Rate > 0
newProposedTime = newProposedTime > manualClock.CurrentTime
? Math.Min(newProposedTime, manualClock.CurrentTime + sixty_frame_time)
: Math.Max(newProposedTime, manualClock.CurrentTime - sixty_frame_time);
}