Skip to content

Commit 1392395

Browse files
authored
Merge pull request #19668 from smoogipoo/fix-ended-room-status
Fix host room status showing ended after playing
2 parents 41af03d + 4107049 commit 1392395

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

osu.Game/Online/Multiplayer/MultiplayerClient.cs

+3
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ await runOnUpdateThreadAsync(() =>
196196
APIRoom.Playlist.AddRange(joinedRoom.Playlist.Select(createPlaylistItem));
197197
APIRoom.CurrentPlaylistItem.Value = APIRoom.Playlist.Single(item => item.ID == joinedRoom.Settings.PlaylistItemId);
198198

199+
// The server will null out the end date upon the host joining the room, but the null value is never communicated to the client.
200+
APIRoom.EndDate.Value = null;
201+
199202
Debug.Assert(LocalUser != null);
200203
addUserToAPIRoom(LocalUser);
201204

0 commit comments

Comments
 (0)