mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Properly annotate method to allow null
This commit is contained in:
@ -40,7 +40,7 @@ namespace osu.Game.Beatmaps.ControlPoints
|
||||
set => SliderVelocityBindable.Value = value;
|
||||
}
|
||||
|
||||
public override bool IsRedundant(ControlPoint existing)
|
||||
public override bool IsRedundant(ControlPoint? existing)
|
||||
=> existing is DifficultyControlPoint existingDifficulty
|
||||
&& SliderVelocity == existingDifficulty.SliderVelocity;
|
||||
|
||||
|
Reference in New Issue
Block a user