SERVER: Prevent Firing Weapon mid-Perk Purchase

This commit is contained in:
cypress 2024-09-01 19:12:04 -07:00
parent fbfcb8ac84
commit 1566782705

View file

@ -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