From 3dc8a4c1ed26e5cb95d146bcccb333eb9e7d09ae Mon Sep 17 00:00:00 2001 From: Dan Balasescu Date: Thu, 10 Apr 2025 18:44:44 +0900 Subject: [PATCH] Rename to `passed` --- osu.Game/Online/Rooms/ItemAttemptsCount.cs | 4 ++-- .../Screens/OnlinePlay/Playlists/PlaylistsRoomSubScreen.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/osu.Game/Online/Rooms/ItemAttemptsCount.cs b/osu.Game/Online/Rooms/ItemAttemptsCount.cs index 17b7f093f4..9ea2235500 100644 --- a/osu.Game/Online/Rooms/ItemAttemptsCount.cs +++ b/osu.Game/Online/Rooms/ItemAttemptsCount.cs @@ -25,7 +25,7 @@ namespace osu.Game.Online.Rooms /// /// Whether the user has a passing score on the playlist item. /// - [JsonProperty("completed")] - public bool Completed { get; set; } + [JsonProperty("passed")] + public bool Passed { get; set; } } } diff --git a/osu.Game/Screens/OnlinePlay/Playlists/PlaylistsRoomSubScreen.cs b/osu.Game/Screens/OnlinePlay/Playlists/PlaylistsRoomSubScreen.cs index 47219e42cb..9834598ac0 100644 --- a/osu.Game/Screens/OnlinePlay/Playlists/PlaylistsRoomSubScreen.cs +++ b/osu.Game/Screens/OnlinePlay/Playlists/PlaylistsRoomSubScreen.cs @@ -533,7 +533,7 @@ namespace osu.Game.Screens.OnlinePlay.Playlists foreach (var item in room.UserScore.PlaylistItemAttempts) { - if (item.Completed) + if (item.Passed) drawablePlaylist.Items.Single(i => i.ID == item.PlaylistItemID).MarkCompleted(); } }