Naming tweaks
This commit is contained in:
parent
41f63aaabd
commit
913241e945
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue