1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Set TimeRate after mod application

This commit is contained in:
smoogipoo 2017-11-16 20:41:26 +09:00
parent 18f2e92a48
commit 5781b45b39

View File

@ -48,12 +48,11 @@ namespace osu.Game.Beatmaps
{
var clock = new StopwatchClock();
mods.OfType<IApplicableToClock>().ForEach(m => m.ApplyToClock(clock));
TimeRate = clock.Rate;
foreach (var mod in mods.OfType<IApplicableToHitObject<T>>())
foreach (var obj in Objects)
mod.ApplyToHitObject(obj);
TimeRate = clock.Rate;
}
protected virtual void PreprocessHitObjects()