1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 21:27:24 +08:00

update the current activity when the multiplayer room updates

This commit is contained in:
Lena 2024-01-02 18:38:25 +01:00
parent 16c7c14602
commit 17656e9b9c
No known key found for this signature in database
GPG Key ID: 5A940B96C2DA3683

View File

@ -349,6 +349,8 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
addItemButton.Alpha = localUserCanAddItem ? 1 : 0;
Scheduler.AddOnce(UpdateMods);
Activity.Value = new UserActivity.InLobby(Room);
}
private bool localUserCanAddItem => client.IsHost || Room.QueueMode.Value != QueueMode.HostOnly;