1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-19 14:42:56 +08:00

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;
}