mirror of
https://github.com/ppy/osu
synced 2025-02-20 20:47:09 +00:00
Do not trigger Random if no Beatmaps are imported
This commit is contained in:
parent
9bb404b799
commit
5d30efc090
@ -177,6 +177,9 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
public void SelectNextRandom()
|
||||
{
|
||||
if (groups.Count == 0)
|
||||
return;
|
||||
|
||||
randomSelectedBeatmaps.Push(new KeyValuePair<BeatmapGroup, BeatmapPanel>(selectedGroup, selectedGroup.SelectedPanel));
|
||||
|
||||
var visibleGroups = getVisibleGroups();
|
||||
|
Loading…
Reference in New Issue
Block a user