mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Attempt to fix in a less destructive way for now
This commit is contained in:
@ -230,7 +230,7 @@ namespace osu.Game.Tests.Visual
|
|||||||
|
|
||||||
if (beatmap.HitObjects.Count > 0)
|
if (beatmap.HitObjects.Count > 0)
|
||||||
// add buffer after last hitobject to allow for final replay frames etc.
|
// 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)
|
if (referenceClock != null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user