Rename BeatmapInfo.StarDifficulty to StarRating to match underlying interface

This commit is contained in:
Dean Herbert
2021-11-11 17:18:51 +09:00
parent 374d1cc241
commit ebe58cee11
16 changed files with 30 additions and 32 deletions

View File

@ -64,7 +64,7 @@ namespace osu.Game.Beatmaps
BeatmapInfo beatmapInfo = beatmaps.Where(b => b.Ruleset.Equals(r)).OrderBy(b =>
{
double difference = b.StarDifficulty - recommendation;
double difference = b.StarRating - recommendation;
return difference >= 0 ? difference * 2 : difference * -1; // prefer easier over harder
}).FirstOrDefault();