mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Avoid calling ToList twice
This commit is contained in:
@ -99,8 +99,7 @@ namespace osu.Game.Screens.Select
|
||||
private IEnumerable<RulesetInfo> getBestRulesetOrder()
|
||||
{
|
||||
IEnumerable<RulesetInfo> bestRulesetOrder = recommendedStarDifficulty.OrderByDescending(pair => pair.Value)
|
||||
.Select(pair => pair.Key)
|
||||
.ToList();
|
||||
.Select(pair => pair.Key);
|
||||
|
||||
List<RulesetInfo> orderedRulesets;
|
||||
|
||||
|
Reference in New Issue
Block a user