Reverse order of exposed objects in HitObjectContainer

Closes #2740.
This commit is contained in:
Dean Herbert
2018-06-06 14:18:38 +09:00
parent e7fa043226
commit 3567823759
4 changed files with 11 additions and 9 deletions

View File

@ -27,8 +27,7 @@ namespace osu.Game.Rulesets.Mods
public virtual void ApplyToDrawableHitObjects(IEnumerable<DrawableHitObject> drawables)
{
// todo: fix ordering of objects so we don't have to do this (#2740).
foreach (var d in drawables.Reverse().Skip(IncreaseFirstObjectVisibility ? 1 : 0))
foreach (var d in drawables.Skip(IncreaseFirstObjectVisibility ? 1 : 0))
d.ApplyCustomUpdateState += ApplyHiddenState;
}