Naming tweaks

This commit is contained in:
Fesiug 2024-01-08 03:37:37 -05:00
parent 41f63aaabd
commit 913241e945
1 changed files with 3 additions and 5 deletions

View File

@ -1,18 +1,16 @@
function SWEP:PrimaryAttack() function SWEP:PrimaryAttack()
local hand = self:hFlipHand( false ) self:BFireLogic( self:hFlipHand( false ) )
self:DevFire( hand )
return true return true
end end
function SWEP:SecondaryAttack() function SWEP:SecondaryAttack()
local hand = self:hFlipHand( true ) self:BFireLogic( self:hFlipHand( true ) )
self:DevFire( hand )
return true return true
end end
function SWEP:DevFire( hand ) function SWEP:BFireLogic( hand )
if self:bWepClass( hand ) then if self:bWepClass( hand ) then
self:BFire( hand ) self:BFire( hand )
elseif self:bWepClass( !hand ) then elseif self:bWepClass( !hand ) then