mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 23:13:20 +08:00
Add mention of StarRatingRangeDisplay
fallback scenario being wrong for multiplayer
This commit is contained in:
parent
f12044b03e
commit
057fd6c352
@ -94,6 +94,8 @@ namespace osu.Game.Screens.OnlinePlay.Components
|
||||
}
|
||||
else
|
||||
{
|
||||
// In multiplayer rooms, the beatmaps of playlist items will not be populated to a point this can be correct.
|
||||
// Either populating them via BeatmapLookupCache or polling the API for the room's DifficultyRange will be required.
|
||||
var orderedDifficulties = Playlist.Select(p => p.Beatmap).OrderBy(b => b.StarRating).ToArray();
|
||||
|
||||
minDifficulty = new StarDifficulty(orderedDifficulties.Length > 0 ? orderedDifficulties[0].StarRating : 0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user