mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 09:03:50 +09:00
Fixed null reference in case there are no beatmaps
This commit is contained in:
@ -87,8 +87,10 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
if (base.OnExiting(next))
|
if (base.OnExiting(next))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
if(Beatmap != null)
|
||||||
|
Beatmap.Track.Looping = false;
|
||||||
|
|
||||||
Beatmap.Track.Looping = false;
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user