]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/bot/aim.qc
Fix an issue with the grabber reloading
[voretournament/voretournament.git] / data / qcsrc / server / bot / aim.qc
index e2476d039af3601e5b81e80a8064f3ee39ff7380..5b54e7d979759e05d5797585e4cd152905444ddf 100644 (file)
@@ -100,6 +100,9 @@ float lag_additem(float t, float f1, float f2, entity e1, vector v1, vector v2,
 
 float bot_shouldattack(entity e)
 {
+       if(g_rpg && cvar("g_rpg_botattack") < 2)
+               return FALSE;
+
        if (e.team == self.team)
        {
                if (e == self)