X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fw_hook.qc;h=754ffff909bf1a90a75976f115e86d70f8c9bef5;hb=8ec5d09966b8304eff74b9948fb98bea12721a7c;hp=32892d5558b5e6862848740296b7e47a2a6b2050;hpb=d28bb718bfd02ac65b80e6160d829a2b5f2edc4d;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/w_hook.qc b/qcsrc/server/w_hook.qc index 32892d555..754ffff90 100644 --- a/qcsrc/server/w_hook.qc +++ b/qcsrc/server/w_hook.qc @@ -143,7 +143,7 @@ float w_hook(float req) if(self.hook) { // if hooked, no bombs, and increase the timer - self.hook_refire = max(self.hook_refire, time + autocvar_g_balance_hook_primary_refire); + self.hook_refire = max(self.hook_refire, time + autocvar_g_balance_hook_primary_refire * W_WeaponRateFactor()); // hook also inhibits health regeneration, but only for 1 second if not(self.items & IT_UNLIMITED_WEAPON_AMMO)