mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 04:13:11 +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;
|
Room = joinedRoom;
|
||||||
apiRoom = room;
|
apiRoom = room;
|
||||||
defaultPlaylistItemId = apiRoom.Playlist.FirstOrDefault()?.ID ?? 0;
|
defaultPlaylistItemId = apiRoom.Playlist.FirstOrDefault()?.ID ?? 0;
|
||||||
|
|
||||||
|
foreach (var user in joinedRoom.Users)
|
||||||
|
updateUserPlayingState(user.UserID, user.State);
|
||||||
}, cancellationSource.Token).ConfigureAwait(false);
|
}, cancellationSource.Token).ConfigureAwait(false);
|
||||||
|
|
||||||
// Update room settings.
|
// Update room settings.
|
||||||
|
Loading…
Reference in New Issue
Block a user