Properly annotate method to allow null

This commit is contained in:
Dan Balasescu
2022-06-20 16:52:01 +09:00
parent ca287d0936
commit 16281f4a48
6 changed files with 6 additions and 6 deletions

View File

@ -67,7 +67,7 @@ namespace osu.Game.Beatmaps.ControlPoints
set => KiaiModeBindable.Value = value;
}
public override bool IsRedundant(ControlPoint existing)
public override bool IsRedundant(ControlPoint? existing)
=> !OmitFirstBarLine
&& existing is EffectControlPoint existingEffect
&& KiaiMode == existingEffect.KiaiMode