mirror of
https://github.com/ppy/osu
synced 2025-01-07 14:49:57 +00: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;
|
if (sourceClock == null) return;
|
||||||
|
|
||||||
sourceClock.Rate = 1;
|
sourceClock.Rate = UserPlaybackRate.Value;
|
||||||
|
|
||||||
foreach (var mod in beatmap.Mods.Value.OfType<IApplicableToClock>())
|
foreach (var mod in beatmap.Mods.Value.OfType<IApplicableToClock>())
|
||||||
mod.ApplyToClock(sourceClock);
|
mod.ApplyToClock(sourceClock);
|
||||||
|
|
||||||
sourceClock.Rate *= UserPlaybackRate.Value;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user