1
This commit is contained in:
parent
fc558fafe5
commit
1028d48eef
@ -2315,8 +2315,8 @@ int Room::InitWithMobaBattle(long ip_saddr, int socket_handle, std::shared_ptr<c
|
||||
};
|
||||
for (size_t i = 0; i < 2; ++i) {
|
||||
auto team = room_teams.at(i);
|
||||
for (size_t ii = team->GetMemberNum(); ii < MAX_TEAM_NUM; ++ii) {
|
||||
|
||||
if (team->GetMemberNum() < MAX_TEAM_NUM) {
|
||||
CreateAndroid(MAX_TEAM_NUM - team->GetMemberNum());
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user