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:
parent
7805b95a1e
commit
13b3036ec6
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user