mirror of
https://github.com/ppy/osu
synced 2024-12-11 09:27:08 +00:00
Return first control point in the list if the time is before it.
This commit is contained in:
parent
952179332f
commit
7628cdf522
@ -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 });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user