1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 12:22:57 +08:00

Use PlayingUsers when constructing player directly

This commit is contained in:
Bartłomiej Dach 2020-12-28 19:12:58 +01:00
parent 1d311a6680
commit a014d0ec18

View File

@ -200,7 +200,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
{
Debug.Assert(client.Room != null);
int[] userIds = client.Room.Users.Where(u => u.State >= MultiplayerUserState.WaitingForLoad).Select(u => u.UserID).ToArray();
int[] userIds = client.PlayingUsers.ToArray();
StartPlay(() => new MultiplayerPlayer(SelectedItem.Value, userIds));
}