1
This commit is contained in:
parent
816d01e928
commit
1e79be8460
@ -2934,6 +2934,21 @@ void Room::OnBattleStart()
|
|||||||
},
|
},
|
||||||
&xtimer_attacher_);
|
&xtimer_attacher_);
|
||||||
}
|
}
|
||||||
|
if (IsMobaModeRoom()) {
|
||||||
|
TraverseTeams
|
||||||
|
(
|
||||||
|
[this] (Team* team) {
|
||||||
|
if (!team->IsViewTeam()) {
|
||||||
|
if (!moba_team_a_) {
|
||||||
|
moba_team_a_ = team;
|
||||||
|
} else {
|
||||||
|
moba_team_b_ = team;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Room::AddTeam(class MatchTeam* team)
|
void Room::AddTeam(class MatchTeam* team)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user