mirror of https://github.com/ppy/osu
Fix recommender's incorrect usage of current ruleset
This commit is contained in:
parent
3cf60e6e00
commit
1c04d58d6e
|
@ -51,7 +51,7 @@ public BeatmapInfo GetRecommendedBeatmap(IEnumerable<BeatmapInfo> beatmaps)
|
|||
|
||||
foreach (var r in getBestRulesetOrder())
|
||||
{
|
||||
recommendedStarDifficulty.TryGetValue(ruleset.Value, out var stars);
|
||||
recommendedStarDifficulty.TryGetValue(r, out var stars);
|
||||
|
||||
beatmap = beatmaps.Where(b => b.Ruleset.Equals(r)).OrderBy(b =>
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue