mirror of
https://github.com/ppy/osu.git
synced 2025-02-23 00:13:01 +08:00
Random the difficulty too
This commit is contained in:
parent
5ef7451dba
commit
e9c2b51012
@ -171,10 +171,8 @@ namespace osu.Game.Screens.Select
|
|||||||
if (visibleGroups.Count < 1)
|
if (visibleGroups.Count < 1)
|
||||||
return;
|
return;
|
||||||
BeatmapGroup group = visibleGroups[RNG.Next(visibleGroups.Count)];
|
BeatmapGroup group = visibleGroups[RNG.Next(visibleGroups.Count)];
|
||||||
BeatmapPanel panel = group?.BeatmapPanels.First();
|
|
||||||
|
|
||||||
if (panel == null)
|
BeatmapPanel panel = group.BeatmapPanels[RNG.Next(group.BeatmapPanels.Count)];
|
||||||
return;
|
|
||||||
|
|
||||||
selectGroup(group, panel);
|
selectGroup(group, panel);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user