From 06cd095e37991f781b2c75542231955b2245004e Mon Sep 17 00:00:00 2001 From: yangduo Date: Sun, 4 May 2025 11:53:25 +0800 Subject: [PATCH] adjust --- server/gameserver/roommgr.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/server/gameserver/roommgr.cc b/server/gameserver/roommgr.cc index d8b38ee..5659d15 100644 --- a/server/gameserver/roommgr.cc +++ b/server/gameserver/roommgr.cc @@ -558,6 +558,13 @@ std::string RoomMgr::GenTeamHashData(const std::string& team_uuid, std::mapInfo + ("join room ok: %s,%s,%d", + { + hum->account_id, + msg.team_uuid(), + hum->room->GetRoomUuid() + }); if (msg.team_members().size() <= 1) { return; } @@ -591,13 +598,6 @@ 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, %ld", - { - hum->account_id, - msg.team_uuid(), - hum->room->GetRoomUuid() - }); } else { a8::UdpLog::Instance()->Warning ("team_data:%s account_id:%s not exists",