mirror of https://github.com/ppy/osu
Fix test failures when no hitobjects are present in a scrolling ruleset
This commit is contained in:
parent
d9d48516fc
commit
d8dd7e7e0f
|
@ -114,7 +114,7 @@ private void load()
|
|||
break;
|
||||
}
|
||||
|
||||
double lastObjectTime = Beatmap.GetLastObjectTime();
|
||||
double lastObjectTime = Beatmap.HitObjects.Any() ? Beatmap.GetLastObjectTime() : 0;
|
||||
double baseBeatLength = TimingControlPoint.DEFAULT_BEAT_LENGTH;
|
||||
|
||||
if (RelativeScaleBeatLengths)
|
||||
|
|
Loading…
Reference in New Issue