From: Mario Date: Sun, 6 Aug 2017 04:05:56 +0000 (+1000) Subject: Screw up overkill X-Git-Tag: xonotic-v0.8.5~2536 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dc722625fdaf24c32143032ad0866afc6b66e567;p=xonotic%2Fxonotic-data.pk3dir.git Screw up overkill --- diff --git a/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc b/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc index 82df487c5..f39c4fc0f 100644 --- a/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc +++ b/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc @@ -120,10 +120,9 @@ MUTATOR_HOOKFUNCTION(ok, PlayerPreThink) if(IS_DEAD(player) || !IS_PLAYER(player) || STAT(FROZEN, player)) return; - if(PHYS_INPUT_BUTTON_ATCK2(player)) + if(PHYS_INPUT_BUTTON_ATCK2(player) && time >= player.jump_interval) if( !forbidWeaponUse(player) || (round_handler_IsActive() && !round_handler_IsRoundStarted()) ) - if(time >= player.jump_interval) { player.jump_interval = time + WEP_CVAR_PRI(blaster, refire) * W_WeaponRateFactor(player); makevectors(player.v_angle);