Fix recommender's incorrect usage of current ruleset

This commit is contained in:
Endrik Tombak 2020-05-01 19:44:35 +03:00
parent 3cf60e6e00
commit 1c04d58d6e
1 changed files with 1 additions and 1 deletions

View File

@ -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 =>
{