Fixed null reference in case there are no beatmaps

This commit is contained in:
MrTheMake
2017-05-21 16:10:10 +02:00
parent 48f4879157
commit cc35cc281c

View File

@ -87,8 +87,10 @@ namespace osu.Game.Screens.Select
if (base.OnExiting(next))
return true;
if(Beatmap != null)
Beatmap.Track.Looping = false;
Beatmap.Track.Looping = false;
return false;
}