diff --git a/osu.Game/Online/Multiplayer/Room.cs b/osu.Game/Online/Multiplayer/Room.cs index 39319aa32e..80a4be83eb 100644 --- a/osu.Game/Online/Multiplayer/Room.cs +++ b/osu.Game/Online/Multiplayer/Room.cs @@ -22,28 +22,28 @@ namespace osu.Game.Online.Multiplayer public Bindable Host { get; private set; } = new Bindable(); [JsonProperty("playlist")] - public readonly BindableCollection Playlist = new BindableCollection(); + public BindableCollection Playlist { get; set; } = new BindableCollection(); [JsonIgnore] - public readonly Bindable Duration = new Bindable(TimeSpan.FromMinutes(30)); + public Bindable Duration { get; private set; } = new Bindable(TimeSpan.FromMinutes(30)); [JsonIgnore] - public readonly Bindable MaxAttempts = new Bindable(); + public Bindable MaxAttempts { get; private set; } = new Bindable(); [JsonIgnore] - public Bindable Status = new Bindable(new RoomStatusOpen()); + public Bindable Status { get; private set; } = new Bindable(new RoomStatusOpen()); [JsonIgnore] - public Bindable Availability = new Bindable(); + public Bindable Availability { get; private set; } = new Bindable(); [JsonIgnore] - public Bindable Type = new Bindable(new GameTypeTimeshift()); + public Bindable Type { get; private set; } = new Bindable(new GameTypeTimeshift()); [JsonIgnore] - public Bindable MaxParticipants = new Bindable(); + public Bindable MaxParticipants { get; private set; } = new Bindable(); [JsonIgnore] - public Bindable> Participants = new Bindable>(Enumerable.Empty()); + public Bindable> Participants { get; private set; } = new Bindable>(Enumerable.Empty()); [JsonProperty("duration")] private int duration @@ -54,7 +54,7 @@ namespace osu.Game.Online.Multiplayer // Only supports retrieval for now [JsonProperty("ends_at")] - public Bindable EndDate = new Bindable(); + public Bindable EndDate { get; private set; } = new Bindable(); // Todo: Find a better way to do this (https://github.com/ppy/osu-framework/issues/1930) [JsonProperty("max_attempts", DefaultValueHandling = DefaultValueHandling.Ignore)]