]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/bot/havocbot/vore_ai.qc
Cvar bots leaving the stomach automatically once team healed (in case the predator...
[voretournament/voretournament.git] / data / qcsrc / server / bot / havocbot / vore_ai.qc
index 5a9fc91feda6f1e2c6ee2bbf66c87d21f8b5f421..26c85aaae558b6d04184f2b7c772bad9e36ea8ab 100644 (file)
@@ -183,6 +183,7 @@ void Vore_AI()
                        else if not(g_rpg && cvar("g_rpg_botattack") < 2)
                        {
                                if not(teams_matter && self.team == self.predator.team && cvar("g_balance_vore_teamheal") && self.health < cvar("g_balance_vore_teamheal_stable")) // we are being team healed, don't leave
+                               if not(teams_matter && self.team == self.predator.team && cvar("bot_ai_vore_stayinteamstomach")) // bots are not supposed to leave a team mate's stomach automatically
                                        self.BUTTON_JUMP = TRUE; // leave
                        }
                }