mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-24 12:51:39 +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)
|
||||
return;
|
||||
|
||||
if (self.switch_delay > time || self.dive)
|
||||
if (self.switch_delay > time || self.dive || self.isBuying)
|
||||
return;
|
||||
|
||||
//First check that we can actualy fire
|
||||
|
|
Loading…
Reference in a new issue