This commit is contained in:
aozhiwei 2022-10-22 09:46:26 +08:00
parent 1bad5e4bbf
commit b0aed04798

View File

@ -292,11 +292,11 @@ void MatchTeam::UpdateMaster()
case kMatchCombining: case kMatchCombining:
{ {
if (IsShuaRobotTime()) { if (IsShuaRobotTime()) {
if (curr_member_hash_.size() < GetSlotNum()) { if (HaveEmptySlot()) {
ShuaRobot(); ShuaRobot();
} }
} else { } else {
if (GetPredictMemberNum() < GetSlotNum()) { if (HaveEmptySlot()) {
TryCombineTeam(); TryCombineTeam();
} }
} }