1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 16:27:26 +08:00

actually use option to override values...

This commit is contained in:
Aergwyn 2017-12-29 18:04:40 +01:00
parent 6c6fa08a06
commit 5e887240ae

View File

@ -41,7 +41,10 @@ namespace osu.Game.Rulesets.Osu.Mods
public void ApplyToDrawableHitObjects(IEnumerable<DrawableHitObject> drawables) public void ApplyToDrawableHitObjects(IEnumerable<DrawableHitObject> drawables)
{ {
foreach (var d in drawables.OfType<DrawableOsuHitObject>()) foreach (var d in drawables.OfType<DrawableOsuHitObject>())
{
d.ApplyCustomValues += ApplyHiddenValues;
d.ApplyCustomUpdateState += ApplyHiddenState; d.ApplyCustomUpdateState += ApplyHiddenState;
}
} }
protected void ApplyHiddenValues(DrawableHitObject drawable) protected void ApplyHiddenValues(DrawableHitObject drawable)