]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/default/bot.qc
Bot AI: implement goal locking for goals that require bot to stand on the goal's...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / default / bot.qc
index f599124db7bbb091e73b94bcbebc7cdfc4a0dbbc..0b591915d648b06654e57cdd53f387f7a9c4ccec 100644 (file)
@@ -133,7 +133,7 @@ void bot_think(entity this)
                if (this.deadflag == DEAD_DEAD)
                {
                        PHYS_INPUT_BUTTON_JUMP(this) = true; // press jump to respawn
-                       this.bot_strategytime = 0;
+                       navigation_goalrating_timeout_force(this);
                }
        }
        else if(this.aistatus & AI_STATUS_STUCK)