mirror of
https://github.com/osukey/osukey.git
synced 2025-07-04 01:40:02 +09:00
Fix timing points beyond the end time potentially becoming dominant
This commit is contained in:
@ -122,6 +122,9 @@ namespace osu.Game.Rulesets.UI.Scrolling
|
||||
|
||||
for (int i = 0; i < timingPoints.Count; i++)
|
||||
{
|
||||
if (timingPoints[i].Time > lastObjectTime)
|
||||
break;
|
||||
|
||||
double endTime = i < timingPoints.Count - 1 ? timingPoints[i + 1].Time : lastObjectTime;
|
||||
double duration = endTime - timingPoints[i].Time;
|
||||
|
||||
|
Reference in New Issue
Block a user