]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/default/havocbot/havocbot.qc
Fix bots standing still after one of them is forced to observe with movetospec or...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / default / havocbot / havocbot.qc
index 64d3c91539822b71350bbf395aebd5822c4099e6..41851afc007cadbff723da1360dfa6c36e3a64a6 100644 (file)
@@ -43,6 +43,10 @@ void havocbot_ai(entity this)
        if(bot_execute_commands(this))
                return;
 
+       // after bot_execute_commands otherwise bots can't be unpaused
+       if (bot_ispaused(this))
+               return;
+
        if (bot_strategytoken == this && !bot_strategytoken_taken)
        {
                if(this.havocbot_blockhead)