mirror of
https://github.com/ppy/osu.git
synced 2025-02-14 20:33:09 +08:00
Remove redundant null coalesce
This commit is contained in:
parent
ccacf56dd8
commit
6fd24a5d92
@ -37,7 +37,7 @@ namespace osu.Game.Beatmaps.Legacy
|
||||
if (newPoint is SampleControlPoint _)
|
||||
{
|
||||
var existing = BinarySearch(SamplePoints, time);
|
||||
return newPoint?.IsRedundant(existing) == true;
|
||||
return newPoint.IsRedundant(existing);
|
||||
}
|
||||
|
||||
return base.CheckAlreadyExisting(time, newPoint);
|
||||
|
Loading…
Reference in New Issue
Block a user