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:
parent
6c6fa08a06
commit
5e887240ae
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user