mirror of
https://github.com/ppy/osu
synced 2025-01-04 05:12:10 +00:00
Fix missing QueueMode copies
This commit is contained in:
parent
95ab82fb58
commit
4e6a02bde9
@ -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();
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user