1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 15:53:21 +08:00

Fix CI issues

This commit is contained in:
iiSaLMaN 2019-10-04 18:02:13 +03:00
parent edddbdb784
commit 0c4f248259

View File

@ -25,7 +25,7 @@ namespace osu.Game.Overlays.BeatmapSet
beatmapSet = value;
foreach (BeatmapRulesetTabItem tab in TabContainer.TabItems)
foreach (var tab in TabContainer.TabItems.OfType<BeatmapRulesetTabItem>())
tab.SetBeatmaps(beatmapSet?.Beatmaps.FindAll(b => b.Ruleset.Equals(tab.Value)));
var firstRuleset = beatmapSet?.Beatmaps.OrderBy(b => b.Ruleset.ID).FirstOrDefault()?.Ruleset;