mirror of
https://github.com/ppy/osu
synced 2024-12-29 02:12:43 +00:00
Remove unnecessary variable discard
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
parent
9fa8bee094
commit
448c58c35d
@ -34,7 +34,7 @@ namespace osu.Game.Beatmaps.Legacy
|
||||
|
||||
protected override bool CheckAlreadyExisting(double time, ControlPoint newPoint)
|
||||
{
|
||||
if (newPoint is SampleControlPoint _)
|
||||
if (newPoint is SampleControlPoint)
|
||||
{
|
||||
var existing = BinarySearch(SamplePoints, time);
|
||||
return newPoint.IsRedundant(existing);
|
||||
|
Loading…
Reference in New Issue
Block a user