1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-29 23:51:01 +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
Unverified
parent 16c7c14602
commit 17656e9b9c
@@ -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;