mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 12:42:54 +08:00
update the current activity when the multiplayer room updates
This commit is contained in:
parent
16c7c14602
commit
17656e9b9c
@ -349,6 +349,8 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
|||||||
addItemButton.Alpha = localUserCanAddItem ? 1 : 0;
|
addItemButton.Alpha = localUserCanAddItem ? 1 : 0;
|
||||||
|
|
||||||
Scheduler.AddOnce(UpdateMods);
|
Scheduler.AddOnce(UpdateMods);
|
||||||
|
|
||||||
|
Activity.Value = new UserActivity.InLobby(Room);
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool localUserCanAddItem => client.IsHost || Room.QueueMode.Value != QueueMode.HostOnly;
|
private bool localUserCanAddItem => client.IsHost || Room.QueueMode.Value != QueueMode.HostOnly;
|
||||||
|
Loading…
Reference in New Issue
Block a user