Actually simplify condition

This commit is contained in:
Bartłomiej Dach 2023-02-19 16:12:10 +01:00
parent 0611fd4035
commit 8a488ebccc
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

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