1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Document getBestRulesetOrder

This commit is contained in:
Endrik Tombak 2020-12-03 19:53:06 +02:00
parent 48dad61a46
commit 4cd2e207ac

View File

@ -93,6 +93,9 @@ namespace osu.Game.Screens.Select
});
}
/// <returns>
/// Rulesets ordered by highest recommended star difficulty, except currently selected ruleset first
/// </returns>
private IEnumerable<RulesetInfo> getBestRulesetOrder()
{
IEnumerable<RulesetInfo> bestRulesetOrder = recommendedStarDifficulty.OrderByDescending(pair => pair.Value)