Skip to content

Commit

Permalink
update the current activity when the multiplayer room updates
Browse files Browse the repository at this point in the history
  • Loading branch information
adryzz committed Jan 2, 2024
1 parent 16c7c14 commit 17656e9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@ private void onRoomUpdated()
addItemButton.Alpha = localUserCanAddItem ? 1 : 0;

Scheduler.AddOnce(UpdateMods);

Activity.Value = new UserActivity.InLobby(Room);
}

private bool localUserCanAddItem => client.IsHost || Room.QueueMode.Value != QueueMode.HostOnly;
Expand Down

0 comments on commit 17656e9

Please sign in to comment.