diff --git a/gamemodes/benny/entities/weapons/benny.lua b/gamemodes/benny/entities/weapons/benny.lua index 471875a..53989ab 100644 --- a/gamemodes/benny/entities/weapons/benny.lua +++ b/gamemodes/benny/entities/weapons/benny.lua @@ -42,6 +42,9 @@ function SWEP:OnVarChanged( name, old, new ) end function SWEP:PrimaryAttack() + if !self:B_Wep1() then + return + end if self:GetDelay1() > CurTime() then return end @@ -50,9 +53,6 @@ function SWEP:PrimaryAttack() self:SetDelay1( CurTime() + 0.2 ) return end - if !self:B_Wep1() then - return - end if CLIENT then AddCaption( "PISTOL", Color( 61, 61, 61 ), "[Pistol shot]", 0.1, 0.5 )