fix team metadata in lobbies

This commit is contained in:
Martin Michelsen
2023-11-27 21:30:59 -08:00
parent 8e2a58ccaa
commit 1a5e56c0b2
3 changed files with 18 additions and 9 deletions
+5
View File
@@ -4627,6 +4627,11 @@ static void on_EA_BB(shared_ptr<Client> c, uint16_t command, uint32_t flag, stri
send_all_nearby_team_metadatas_to_client(c, true);
break;
case 0x14EA:
// On Sega's original servers, this command was likely used for requesting
// other players' team membership information (15EA) only when the player
// pressed Tab in lobbies to show players' team names. newserv instead
// sends team membership whenever any player joins the lobby, so we ignore
// the 14EA requests.
break;
case 0x18EA: // Ranking information
send_team_rank_info(c);