Move code to already existing if block

This commit is contained in:
EXtremeExploit 2023-01-22 01:40:00 -03:00
parent 8c208da324
commit 2f3971b6fb
No known key found for this signature in database
1 changed files with 0 additions and 3 deletions

View File

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