1
This commit is contained in:
parent
e0f214dc51
commit
1bad5e4bbf
@ -808,5 +808,6 @@ int MatchTeam::GetEmptySlotNum()
|
||||
for (auto& pair : combined_team_hash_) {
|
||||
alloced_slot_num += pair.second->GetInitMemberNum();
|
||||
}
|
||||
return 0;
|
||||
int empty_slot_num = std::max(0, GetSlotNum() - alloced_slot_num);
|
||||
return empty_slot_num;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user