mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:42:55 +08:00
Faster count for AppVeyor
This commit is contained in:
parent
d032790e19
commit
987a6403da
@ -263,7 +263,7 @@ namespace osu.Game.Screens.Select
|
|||||||
set = visibleSets.ElementAt(RNG.Next(visibleSets.Count));
|
set = visibleSets.ElementAt(RNG.Next(visibleSets.Count));
|
||||||
|
|
||||||
var visibleBeatmaps = set.Beatmaps.Where(s => !s.Filtered).ToList();
|
var visibleBeatmaps = set.Beatmaps.Where(s => !s.Filtered).ToList();
|
||||||
select(visibleBeatmaps.Skip(RNG.Next(visibleBeatmaps.Count())).FirstOrDefault());
|
select(visibleBeatmaps.Skip(RNG.Next(visibleBeatmaps.Count)).FirstOrDefault());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SelectPreviousRandom()
|
public void SelectPreviousRandom()
|
||||||
|
Loading…
Reference in New Issue
Block a user