mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Return first control point in the list if the time is before it.
This commit is contained in:
@ -82,7 +82,7 @@ namespace osu.Game.Beatmaps.ControlPoints
|
||||
return new T();
|
||||
|
||||
if (time < list[0].Time)
|
||||
return new T();
|
||||
return list[0];
|
||||
|
||||
int index = list.BinarySearch(new T() { Time = time });
|
||||
|
||||
|
Reference in New Issue
Block a user