mirror of
https://github.com/ppy/osu
synced 2025-01-10 16:19:47 +00:00
Expose PlaylistItem.APIBeatmap
for now
This commit is contained in:
parent
dd948e5ada
commit
1d8e253112
@ -43,7 +43,7 @@ namespace osu.Game.Online.Rooms
|
||||
public readonly BindableList<Mod> RequiredMods = new BindableList<Mod>();
|
||||
|
||||
[JsonProperty("beatmap")]
|
||||
private APIBeatmap apiBeatmap { get; set; }
|
||||
public APIBeatmap APIBeatmap { get; set; }
|
||||
|
||||
private APIMod[] allowedModsBacking;
|
||||
|
||||
@ -71,7 +71,7 @@ namespace osu.Game.Online.Rooms
|
||||
|
||||
public void MapObjects(BeatmapManager beatmaps, RulesetStore rulesets)
|
||||
{
|
||||
Beatmap.Value ??= apiBeatmap.ToBeatmapInfo(rulesets);
|
||||
Beatmap.Value ??= APIBeatmap.ToBeatmapInfo(rulesets);
|
||||
Ruleset.Value ??= rulesets.GetRuleset(RulesetID);
|
||||
|
||||
Ruleset rulesetInstance = Ruleset.Value.CreateInstance();
|
||||
|
Loading…
Reference in New Issue
Block a user