1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 02:15:17 +08:00

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

View File

@ -51,7 +51,7 @@ namespace osu.Game.Screens.Select
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 =>
{