1
0
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:
Dean Herbert 2021-08-30 15:17:20 +09:00
parent ccacf56dd8
commit 6fd24a5d92

View File

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