mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 23:22:55 +08:00
Fix metrics being populated with null ratings
This commit is contained in:
parent
2ad4045b2e
commit
389997dbc4
@ -73,7 +73,7 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
OnlineBeatmapSetID = OnlineBeatmapSetID,
|
||||
Metadata = this,
|
||||
Status = Status,
|
||||
Metrics = new BeatmapSetMetrics { Ratings = ratings },
|
||||
Metrics = ratings == null ? null : new BeatmapSetMetrics { Ratings = ratings },
|
||||
OnlineInfo = new BeatmapSetOnlineInfo
|
||||
{
|
||||
Covers = covers,
|
||||
|
Loading…
Reference in New Issue
Block a user