get tests running again

This commit is contained in:
David Zhao
2019-07-31 19:30:35 +09:00
parent f81e691bf5
commit 980686f6bf
4 changed files with 31 additions and 11 deletions

View File

@ -317,7 +317,7 @@ namespace osu.Game
private void currentTrackCompleted()
{
if (!Beatmap.Value.Track.Looping && !Beatmap.Disabled)
if (!Beatmap.Value.Track.Looping && !Beatmap.Disabled && musicController.IsLoaded)
musicController.NextTrack();
}