Fix APIBeatmapSet.Beatmaps being IEnumerable, causing stupid issues

This commit is contained in:
Dean Herbert
2021-11-04 16:44:05 +09:00
parent baabe99f78
commit 8f459e6ce8
9 changed files with 15 additions and 20 deletions

View File

@ -119,7 +119,7 @@ namespace osu.Game.Online.API.Requests.Responses
public string Tags { get; set; } = string.Empty;
[JsonProperty(@"beatmaps")]
public IEnumerable<APIBeatmap> Beatmaps { get; set; } = Array.Empty<APIBeatmap>();
public APIBeatmap[] Beatmaps { get; set; } = Array.Empty<APIBeatmap>();
public virtual BeatmapSetInfo ToBeatmapSet(RulesetStore rulesets)
{