mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 08:52:55 +08:00
Fixed null reference in case there are no beatmaps
This commit is contained in:
parent
48f4879157
commit
cc35cc281c
@ -88,7 +88,9 @@ namespace osu.Game.Screens.Select
|
||||
if (base.OnExiting(next))
|
||||
return true;
|
||||
|
||||
Beatmap.Track.Looping = false;
|
||||
if(Beatmap != null)
|
||||
Beatmap.Track.Looping = false;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user