From db025d81eea10954d12ab31f11f2ea61116c853e Mon Sep 17 00:00:00 2001 From: Dan Balasescu Date: Wed, 13 Nov 2024 15:50:01 +0900 Subject: [PATCH] Reorder public property vs private field --- osu.Game/Online/Rooms/Room.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osu.Game/Online/Rooms/Room.cs b/osu.Game/Online/Rooms/Room.cs index 1f5fec6089..6a4d14189d 100644 --- a/osu.Game/Online/Rooms/Room.cs +++ b/osu.Game/Online/Rooms/Room.cs @@ -21,9 +21,6 @@ namespace osu.Game.Online.Rooms { public event PropertyChangedEventHandler? PropertyChanged; - [JsonProperty("current_playlist_item")] - private PlaylistItem? currentPlaylistItem; - /// /// Represents the current item selected within the room. /// @@ -36,6 +33,9 @@ namespace osu.Game.Online.Rooms set => SetField(ref currentPlaylistItem, value); } + [JsonProperty("current_playlist_item")] + private PlaylistItem? currentPlaylistItem; + [Cached] [JsonProperty("id")] public readonly Bindable RoomID = new Bindable();