]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/default/havocbot/havocbot.qc
Bot AI: tweak timeout values for searching a new goal and for searching a new goal...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / default / havocbot / havocbot.qc
index f842c29d3b491cede45cd6b302fcc735227b547b..8c1283a7f3ff21588301380ebf09bc66fe7e8c31 100644 (file)
@@ -761,7 +761,7 @@ void havocbot_movetogoal(entity this)
        }
        if(!locked_goal)
        {
-               if(navigation_poptouchedgoals(this) && this.bot_strategytime < time + 1)
+               if(navigation_poptouchedgoals(this) && time > this.bot_strategytime - (IS_MOVABLE(this.goalentity) ? 3 : 2))
                        navigation_goalrating_timeout_force(this);
        }