1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 06:32:55 +08:00

Clarify usingHiddenFading logic

This commit is contained in:
Adam 2023-02-18 17:31:18 -06:00
parent e06502085e
commit 58d64cdbd0

View File

@ -59,7 +59,7 @@ namespace osu.Game.Rulesets.Osu.Mods
if (ClassicNoteLock.Value) if (ClassicNoteLock.Value)
osuRuleset.Playfield.HitPolicy = new ObjectOrderedHitPolicy(); osuRuleset.Playfield.HitPolicy = new ObjectOrderedHitPolicy();
usingHiddenFading = !drawableRuleset.Mods.OfType<OsuModHidden>().FirstOrDefault()?.OnlyFadeApproachCircles.Value ?? false; usingHiddenFading = (drawableRuleset.Mods.OfType<OsuModHidden>().SingleOrDefault()?.OnlyFadeApproachCircles.Value ?? true) != true;
} }
public void ApplyToDrawableHitObject(DrawableHitObject obj) public void ApplyToDrawableHitObject(DrawableHitObject obj)