Revert PlaylistItem.APIBeatmap to be private

This commit is contained in:
Dean Herbert
2021-11-04 13:36:32 +09:00
parent 05f1fd4bc9
commit 9f9c960fe3
5 changed files with 6 additions and 8 deletions

View File

@ -43,7 +43,7 @@ namespace osu.Game.Online.Rooms
public readonly BindableList<Mod> RequiredMods = new BindableList<Mod>();
[JsonProperty("beatmap")]
public APIBeatmap APIBeatmap { get; set; }
private APIBeatmap apiBeatmap { get; set; }
private APIMod[] allowedModsBacking;
@ -71,7 +71,7 @@ namespace osu.Game.Online.Rooms
public void MapObjects(RulesetStore rulesets)
{
Beatmap.Value ??= APIBeatmap;
Beatmap.Value ??= apiBeatmap;
Ruleset.Value ??= rulesets.GetRuleset(RulesetID);
Ruleset rulesetInstance = Ruleset.Value.CreateInstance();