mgr: fix leader selection stuff (fix #624)
Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
This commit is contained in:
parent
85af7c7c63
commit
cf9d0cc84f
2 changed files with 16 additions and 14 deletions
|
|
@ -464,7 +464,7 @@ void BotManager::maintainLeaders () {
|
|||
}
|
||||
|
||||
// select leader each team somewhere in round start
|
||||
if (m_timeRoundStart + 5.0f > game.time () && m_timeRoundStart + 10.0f < game.time ()) {
|
||||
if (m_timeRoundStart + rg (1.5f, 3.0f) < game.time ()) {
|
||||
for (int team = 0; team < kGameTeamNum; ++team) {
|
||||
selectLeaders (team, false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue