1
This commit is contained in:
parent
11711a219d
commit
fb85616ceb
@ -2595,7 +2595,7 @@ int Room::InitWithCustomBattle(long ip_saddr, int socket_handle, std::shared_ptr
|
|||||||
new_team->SetAutoFill(true);
|
new_team->SetAutoFill(true);
|
||||||
room_teams.push_back(new_team);
|
room_teams.push_back(new_team);
|
||||||
}
|
}
|
||||||
int side = 1;
|
int side = a8::RandEx(1, 2);
|
||||||
for (size_t i = 0; i < 2; ++i) {
|
for (size_t i = 0; i < 2; ++i) {
|
||||||
auto team = room_teams.at(i);
|
auto team = room_teams.at(i);
|
||||||
if (team->GetMemberNum() < MAX_TEAM_NUM) {
|
if (team->GetMemberNum() < MAX_TEAM_NUM) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user