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()
local hand = self:hFlipHand( false )
self:DevFire( hand )
self:BFireLogic( self:hFlipHand( false ) )
return true
end
function SWEP:SecondaryAttack()
local hand = self:hFlipHand( true )
self:DevFire( hand )
self:BFireLogic( self:hFlipHand( true ) )
return true
end
function SWEP:DevFire( hand )
function SWEP:BFireLogic( hand )
if self:bWepClass( hand ) then
self:BFire( hand )
elseif self:bWepClass( !hand ) then