mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 08:12:56 +08: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