This commit is contained in:
aozhiwei 2022-10-22 08:56:11 +08:00
parent 45c81d34c3
commit 075438a9cd

View File

@ -799,5 +799,9 @@ bool MatchTeam::HaveEmptySlot()
int MatchTeam::GetEmptySlotNum()
{
int alloced_slot_num = first_member_->msg->team_members().size();
for (auto& pair : combined_team_hash_) {
alloced_slot_num += pair.second->GetSlotNum();
}
return 0;
}