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:
parent
48f4879157
commit
cc35cc281c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user