From 63007acbcf89ce3e9da266171890dfae5be88dea Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 29 Apr 2018 11:22:38 +0200 Subject: [PATCH] Bot AI: carrier role: don't lock CTF base as goal for too much time --- qcsrc/server/mutators/mutator/gamemode_ctf.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/mutators/mutator/gamemode_ctf.qc b/qcsrc/server/mutators/mutator/gamemode_ctf.qc index 362e8cee7..4175dabc1 100644 --- a/qcsrc/server/mutators/mutator/gamemode_ctf.qc +++ b/qcsrc/server/mutators/mutator/gamemode_ctf.qc @@ -1696,7 +1696,7 @@ void havocbot_role_ctf_carrier(entity this) entity goal = this.goalentity; if (havocbot_ctf_is_basewaypoint(goal) && vdist(goal.origin - this.origin, <, 100)) - this.goalentity_lock_timeout = time + 5; + this.goalentity_lock_timeout = time + ((this.bot_aimtarg) ? 2 : 3); if (goal) this.havocbot_cantfindflag = time + 10; -- 2.39.2