mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-16 09:01:41 +00:00
SERVER: Prevent Firing Weapon mid-Perk Purchase
This commit is contained in:
parent
fbfcb8ac84
commit
1566782705
1 changed files with 1 additions and 1 deletions
|
@ -953,7 +953,7 @@ void(float side) W_Fire =
|
||||||
if (GetFiretype(self.weapon) == FIRETYPE_FLAME && self.cooldown)
|
if (GetFiretype(self.weapon) == FIRETYPE_FLAME && self.cooldown)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (self.switch_delay > time || self.dive)
|
if (self.switch_delay > time || self.dive || self.isBuying)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
//First check that we can actualy fire
|
//First check that we can actualy fire
|
||||||
|
|
Loading…
Reference in a new issue