1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 17:32:54 +08:00

maybe fix

This commit is contained in:
Dean Herbert 2017-09-07 01:46:07 +09:00
parent e5308b6247
commit af0eaab78c

View File

@ -87,7 +87,9 @@ namespace osu.Game.Beatmaps
{
if (track != null) return track;
track = GetTrack();
// we want to ensure that we always have a track, even if it's a fake one.
track = GetTrack() ?? new TrackVirtual();
applyRateAdjustments();
return track;
}