mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Do not trigger Random if no Beatmaps are imported
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user