add player_count in 83 command struct

This commit is contained in:
Martin Michelsen
2025-03-14 21:26:56 -07:00
parent 1df7b821e8
commit 2cff04943f
5 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -1730,7 +1730,7 @@ void send_lobby_list(shared_ptr<Client> c) {
auto& e = entries.emplace_back();
e.menu_id = MenuID::LOBBY;
e.item_id = l->lobby_id;
e.unused = 0;
e.player_count = l->count_clients();
}
send_command_vt(c, 0x83, entries.size(), entries);