1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 21:47:25 +08:00

Fix "wind" mods adjusting rate twice

This is a hotfix for incorrect framework behaviour.

Closes #4442
This commit is contained in:
Dean Herbert 2019-03-12 02:45:45 +09:00
parent 7805b95a1e
commit 13b3036ec6

View File

@ -141,11 +141,10 @@ namespace osu.Game.Screens.Play
{
if (sourceClock == null) return;
sourceClock.Rate = 1;
sourceClock.Rate = UserPlaybackRate.Value;
foreach (var mod in beatmap.Mods.Value.OfType<IApplicableToClock>())
mod.ApplyToClock(sourceClock);
sourceClock.Rate *= UserPlaybackRate.Value;
}
}
}