minor tweak, JK

This commit is contained in:
Jackarunda 2020-11-06 19:42:06 -07:00
parent f93fff2558
commit a02eaedc1c

View File

@ -735,7 +735,7 @@ function SWEP:BarrelHitWall()
mask = mask
})
if tr.Hit then
if tr.Hit and not tr.Entity.ArcCWProjectile then
local l = (tr.HitPos - src):Length()
l = l
return 1 - math.Clamp(l / (self.BarrelLength + self:GetBuff_Add("Add_BarrelLength")), 0, 1)