This commit is contained in:
aozhiwei 2021-09-27 10:25:39 +00:00
parent ca79b13b23
commit 27a7bdc6a6

View File

@ -36,6 +36,11 @@ void MatchTeam::Init(f8::MsgHdr& hdr, const cs::CMJoin& msg)
},
&timer_attacher.timer_list_);
AddRawMember(hdr, msg);
{
if (GetPredictMemberNum() < MAX_TEAM_NUM) {
TryCombineTeam();
}
}
}
void MatchTeam::AddRawMember(f8::MsgHdr& hdr, const cs::CMJoin& msg)