1
This commit is contained in:
parent
45c81d34c3
commit
075438a9cd
@ -799,5 +799,9 @@ bool MatchTeam::HaveEmptySlot()
|
|||||||
|
|
||||||
int MatchTeam::GetEmptySlotNum()
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user