mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 21:23:04 +08:00
Fix crash on random selection from a previously null selection
This commit is contained in:
parent
2742fe46cf
commit
3ede685ee9
@ -191,7 +191,8 @@ namespace osu.Game.Screens.Select
|
|||||||
if (!visibleGroups.Any())
|
if (!visibleGroups.Any())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
randomSelectedBeatmaps.Push(new KeyValuePair<BeatmapGroup, BeatmapPanel>(selectedGroup, selectedGroup.SelectedPanel));
|
if (selectedGroup != null)
|
||||||
|
randomSelectedBeatmaps.Push(new KeyValuePair<BeatmapGroup, BeatmapPanel>(selectedGroup, selectedGroup.SelectedPanel));
|
||||||
|
|
||||||
BeatmapGroup group;
|
BeatmapGroup group;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user