Fix logic results in infinite loop on default timing point return

This commit is contained in:
Dean Herbert 2020-05-20 14:55:36 +09:00
parent 4f83bb679b
commit d31a59b074
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ private void createLines()
var nextTimingPoint = beatmap.ControlPointInfo.TimingPointAt(time);
// switch to the next timing point if we have reached it.
if (nextTimingPoint != timingPoint)
if (nextTimingPoint.Time > timingPoint.Time)
{
beat = 0;
time = nextTimingPoint.Time;