1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 00:47:24 +08:00

Attempt to fix in a less destructive way for now

This commit is contained in:
Dean Herbert 2020-10-29 17:52:58 +09:00
parent 7bef695072
commit 4dec46b33e

View File

@ -230,7 +230,7 @@ namespace osu.Game.Tests.Visual
if (beatmap.HitObjects.Count > 0)
// add buffer after last hitobject to allow for final replay frames etc.
trackLength = beatmap.HitObjects.Max(h => h.GetEndTime()) + 2000;
trackLength = Math.Max(trackLength, beatmap.HitObjects.Max(h => h.GetEndTime()) + 2000);
if (referenceClock != null)
{