This commit is contained in:
aozhiwei 2021-09-08 02:25:17 +00:00
parent 06c4cfe198
commit 2b2f3165bc

View File

@ -579,6 +579,9 @@ std::string RoomMgr::GenTeamHashData(const std::string& team_uuid, std::map<std:
void RoomMgr::OnJoinRoomOk(const cs::CMJoin& msg, Player* hum)
{
if (msg.team_uuid().empty()) {
return;
}
std::map<std::string, long long>* team_hash = nullptr;
{
auto itr = team_room_hash_.find(msg.team_uuid());