mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
Fix logic results in infinite loop on default timing point return
This commit is contained in:
parent
4f83bb679b
commit
d31a59b074
@ -126,7 +126,7 @@ namespace osu.Game.Rulesets.Mania.Edit
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user