]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/w_campingrifle.qc
merge some changes from my autocvarizer branch that change nothing but make code...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / w_campingrifle.qc
index 309717305052fefb239085d85a8ed1ff41b5b103..1347fc88c94baae7678661584e54be2c68c2be15 100644 (file)
@@ -250,7 +250,7 @@ float w_campingrifle(float req)
                weapon_setup(WEP_CAMPINGRIFLE);
 
                full = W_CampingRifle_CheckMaxBullets(TRUE);
-               if(cvar("g_balance_campingrifle_auto_reload_after_changing_weapons"))
+               if(cvar("g_balance_campingrifle_auto_reload_on_switch"))
                        if(!full)
                                self.campingrifle_bulletcounter = -1;
        }