mirror of https://github.com/ppy/osu
Move code to already existing if block
This commit is contained in:
parent
8c208da324
commit
2f3971b6fb
|
@ -78,10 +78,7 @@ private void load(OverlayColourProvider? colourProvider, RulesetStore rulesets)
|
|||
icon.Size = new Vector2(TextSize - 1);
|
||||
})).ToList()
|
||||
);
|
||||
}
|
||||
|
||||
if (group.Playmodes?.Length > 0)
|
||||
{
|
||||
var badgeModesList = group.Playmodes.Select(p => rulesets.GetRuleset(p)?.Name).ToList();
|
||||
|
||||
string modesDisplay = string.Join(", ", badgeModesList);
|
||||
|
|
Loading…
Reference in New Issue