mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:52:54 +08:00
Populate initial user states
This commit is contained in:
parent
d49b90877e
commit
56e1bffdfd
@ -144,6 +144,9 @@ namespace osu.Game.Online.Multiplayer
|
||||
Room = joinedRoom;
|
||||
apiRoom = room;
|
||||
defaultPlaylistItemId = apiRoom.Playlist.FirstOrDefault()?.ID ?? 0;
|
||||
|
||||
foreach (var user in joinedRoom.Users)
|
||||
updateUserPlayingState(user.UserID, user.State);
|
||||
}, cancellationSource.Token).ConfigureAwait(false);
|
||||
|
||||
// Update room settings.
|
||||
|
Loading…
Reference in New Issue
Block a user