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)
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)