1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 04:02:59 +08:00

Fix incorrect beatmap count and SR range in multi lounge

This commit is contained in:
smoogipoo 2021-09-14 18:20:28 +09:00
parent 52b1539dea
commit a775915338
2 changed files with 8 additions and 0 deletions

View File

@ -57,7 +57,12 @@ namespace osu.Game.Screens.OnlinePlay.Components
}
foreach (var incoming in result)
{
// Copy the room to itself to populate some members (such as status and playlist expiry).
incoming.CopyFrom(incoming);
RoomManager.AddOrUpdateRoom(incoming);
}
initialRoomsReceived.Value = true;
tcs.SetResult(true);

View File

@ -39,6 +39,9 @@ namespace osu.Game.Screens.OnlinePlay.Components
pollReq.Success += result =>
{
// Copy the room to itself to populate some members (such as status and playlist expiry).
result.CopyFrom(result);
RoomManager.AddOrUpdateRoom(result);
tcs.SetResult(true);
};