1
This commit is contained in:
parent
b0aed04798
commit
20c0b0f535
@ -300,7 +300,7 @@ void MatchTeam::UpdateMaster()
|
||||
TryCombineTeam();
|
||||
}
|
||||
}
|
||||
if (phase_left_time_ <= 0 || GetPredictMemberNum() >= MAX_TEAM_NUM) {
|
||||
if (phase_left_time_ <= 0 || !HaveEmptySlot()) {
|
||||
ChooseLeader();
|
||||
phase_ = kMatchChoose;
|
||||
phase_start_tick_ = a8::XGetTickCount();
|
||||
@ -313,7 +313,8 @@ void MatchTeam::UpdateMaster()
|
||||
UpdateTeamState();
|
||||
CheckChoose();
|
||||
CheckPrepare();
|
||||
if ((phase_left_time_ <= MetaMgr::Instance()->match_lock_time) || IsAllPrepare()) {
|
||||
if ((phase_left_time_ <= MetaMgr::Instance()->match_lock_time) ||
|
||||
IsAllPrepare()) {
|
||||
for (int i = 0; i < MAX_TEAM_NUM; ++i) {
|
||||
AutoChoose(true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user