mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09: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;
|
ParticipantCount.Value = other.ParticipantCount.Value;
|
||||||
EndDate.Value = other.EndDate.Value;
|
EndDate.Value = other.EndDate.Value;
|
||||||
UserScore.Value = other.UserScore.Value;
|
UserScore.Value = other.UserScore.Value;
|
||||||
|
QueueMode.Value = other.QueueMode.Value;
|
||||||
|
|
||||||
if (EndDate.Value != null && DateTimeOffset.Now >= EndDate.Value)
|
if (EndDate.Value != null && DateTimeOffset.Now >= EndDate.Value)
|
||||||
Status.Value = new RoomStatusEnded();
|
Status.Value = new RoomStatusEnded();
|
||||||
|
@ -158,8 +158,8 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
|||||||
Name = apiRoom.Name.Value,
|
Name = apiRoom.Name.Value,
|
||||||
MatchType = apiRoom.Type.Value,
|
MatchType = apiRoom.Type.Value,
|
||||||
PlaylistItemId = lastPlaylistItemId,
|
PlaylistItemId = lastPlaylistItemId,
|
||||||
// ReSharper disable once ConstantNullCoalescingCondition Incorrect inspection due to lack of nullable in Room.cs.
|
Password = password,
|
||||||
Password = password ?? string.Empty,
|
QueueMode = apiRoom.QueueMode.Value
|
||||||
},
|
},
|
||||||
Users = { localUser },
|
Users = { localUser },
|
||||||
Host = localUser
|
Host = localUser
|
||||||
|
Loading…
x
Reference in New Issue
Block a user