mirror of
https://github.com/osukey/osukey.git
synced 2025-05-11 08:37:34 +09:00
Merge pull request #1207 from peppy/fix-random-select
Fix crash on random selection from a previously null selection
This commit is contained in:
commit
783f528cfc
@ -191,6 +191,7 @@ namespace osu.Game.Screens.Select
|
|||||||
if (!visibleGroups.Any())
|
if (!visibleGroups.Any())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (selectedGroup != null)
|
||||||
randomSelectedBeatmaps.Push(new KeyValuePair<BeatmapGroup, BeatmapPanel>(selectedGroup, selectedGroup.SelectedPanel));
|
randomSelectedBeatmaps.Push(new KeyValuePair<BeatmapGroup, BeatmapPanel>(selectedGroup, selectedGroup.SelectedPanel));
|
||||||
|
|
||||||
BeatmapGroup group;
|
BeatmapGroup group;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user