mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 02:33:20 +08:00
Merge branch 'fix-randomizer' of https://github.com/LittleEndu/osu into fix-randomizer
This commit is contained in:
commit
ce156098f6
@ -265,7 +265,7 @@ namespace osu.Game.Screens.Select
|
||||
}
|
||||
else
|
||||
set = visibleSets.ElementAt(RNG.Next(visibleSets.Count));
|
||||
|
||||
|
||||
var visibleBeatmaps = set.Beatmaps.Where(s => !s.Filtered).ToList();
|
||||
select(visibleBeatmaps.Skip(RNG.Next(visibleBeatmaps.Count)).FirstOrDefault());
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user