mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 03:02:56 +08:00
Attempt to fix in a less destructive way for now
This commit is contained in:
parent
7bef695072
commit
4dec46b33e
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user