Ensure CurrentTrack is never null

This commit is contained in:
smoogipoo
2020-08-07 19:43:16 +09:00
parent bf21fdd6da
commit 61b632516e
10 changed files with 8 additions and 22 deletions

View File

@ -16,10 +16,7 @@ namespace osu.Game.Tests.Visual
// note that this will override any mod rate application
if (MusicController.TrackLoaded)
{
Debug.Assert(MusicController.CurrentTrack != null);
MusicController.CurrentTrack.Tempo.Value = Clock.Rate;
}
}
}
}