mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 07:22:55 +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())
|
||||
return;
|
||||
|
||||
randomSelectedBeatmaps.Push(new KeyValuePair<BeatmapGroup, BeatmapPanel>(selectedGroup, selectedGroup.SelectedPanel));
|
||||
if (selectedGroup != null)
|
||||
randomSelectedBeatmaps.Push(new KeyValuePair<BeatmapGroup, BeatmapPanel>(selectedGroup, selectedGroup.SelectedPanel));
|
||||
|
||||
BeatmapGroup group;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user