forked from HaodongMo/ArcCW
Fixed shotgun reloading being too slow
This commit is contained in:
parent
971444c7e8
commit
bba200caed
@ -36,7 +36,7 @@ function EFFECT:Init(data)
|
||||
particle:SetDieTime( 1.5 )
|
||||
particle:SetStartAlpha( 255 )
|
||||
particle:SetEndAlpha( 255 )
|
||||
particle:SetStartSize( 250 )
|
||||
particle:SetStartSize( 250 )
|
||||
particle:SetEndSize( 0 )
|
||||
particle:SetRoll( math.Rand(180,480) )
|
||||
particle:SetRollDelta( math.Rand(-5,5) )
|
||||
|
@ -241,11 +241,11 @@ function SWEP:GetAnimKeyTime(key)
|
||||
if !self:GetOwner() then return 1 end
|
||||
local vm = self:GetOwner():GetViewModel()
|
||||
|
||||
if vm or !IsValid(vm) then return 1 end
|
||||
if !vm or !IsValid(vm) then return 1 end
|
||||
|
||||
local anim = self.Animations[key]
|
||||
|
||||
if !anim then anim.Time = 1 return 1 end
|
||||
if !anim then return 1 end
|
||||
|
||||
if !anim.Time then
|
||||
local tseq = anim.Source
|
||||
|
Loading…
Reference in New Issue
Block a user