This commit is contained in:
yangduo 2025-05-04 11:16:34 +08:00
parent cae20c8783
commit 315c7d57e4

View File

@ -591,6 +591,12 @@ void RoomMgr::OnJoinRoomOk(const cs::CMJoin& msg, Player* hum)
auto itr = team_hash->find(hum->account_id);
if (itr != team_hash->end()) {
itr->second = hum->room->GetRoomUuid();
a8::UdpLog::Instance()->Info
("join room ok: %s, %s",
{
hum->account_id,
GenTeamHashData(msg.team_uuid(), team_hash)
});
} else {
a8::UdpLog::Instance()->Warning
("team_data:%s account_id:%s not exists",