diff --git a/osu.Game/Online/Rooms/Room.cs b/osu.Game/Online/Rooms/Room.cs index 875cdeeb8c..c5f7e240ec 100644 --- a/osu.Game/Online/Rooms/Room.cs +++ b/osu.Game/Online/Rooms/Room.cs @@ -182,6 +182,7 @@ namespace osu.Game.Online.Rooms ParticipantCount.Value = other.ParticipantCount.Value; EndDate.Value = other.EndDate.Value; UserScore.Value = other.UserScore.Value; + QueueMode.Value = other.QueueMode.Value; if (EndDate.Value != null && DateTimeOffset.Now >= EndDate.Value) Status.Value = new RoomStatusEnded(); diff --git a/osu.Game/Tests/Visual/Multiplayer/TestMultiplayerClient.cs b/osu.Game/Tests/Visual/Multiplayer/TestMultiplayerClient.cs index 7606f6c456..45c3f28eab 100644 --- a/osu.Game/Tests/Visual/Multiplayer/TestMultiplayerClient.cs +++ b/osu.Game/Tests/Visual/Multiplayer/TestMultiplayerClient.cs @@ -158,8 +158,8 @@ namespace osu.Game.Tests.Visual.Multiplayer Name = apiRoom.Name.Value, MatchType = apiRoom.Type.Value, PlaylistItemId = lastPlaylistItemId, - // ReSharper disable once ConstantNullCoalescingCondition Incorrect inspection due to lack of nullable in Room.cs. - Password = password ?? string.Empty, + Password = password, + QueueMode = apiRoom.QueueMode.Value }, Users = { localUser }, Host = localUser