1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 07:27:25 +08:00

Merge branch 'fix-randomizer' of https://github.com/LittleEndu/osu into fix-randomizer

This commit is contained in:
Endrik Tombak 2018-01-03 12:33:43 +02:00
commit ce156098f6

View File

@ -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;