mgr: added yb_first_human_restart (resolves #713)
When bots are playing on dedicated server and first human joins a team the game will be restarted if yb_first_human_restart is higher than zero. Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
This commit is contained in:
parent
cf9d0cc84f
commit
590471d94c
6 changed files with 47 additions and 3 deletions
|
|
@ -1557,8 +1557,8 @@ void Bot::attackMovement () {
|
|||
m_strafeSetTime = strafeUpdateTime ();
|
||||
}
|
||||
|
||||
const bool wallOnRight = checkWallOnRight (72.0f);
|
||||
const bool wallOnLeft = checkWallOnLeft (72.0f);
|
||||
const bool wallOnRight = checkWallOnRight (96.0f);
|
||||
const bool wallOnLeft = checkWallOnLeft (96.0f);
|
||||
|
||||
if (m_dodgeStrafeDir == Dodge::Left) {
|
||||
if (!wallOnLeft) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue