Fix client side error with z9000 shots.
This commit is contained in:
parent
87bc493492
commit
0c3d50dfad
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ function meta:RawCapLegDamage(time)
|
|||
end
|
||||
|
||||
function meta:GetLegDamage()
|
||||
return math.max(0, self.LegDamage - CurTime())
|
||||
return math.max(0, (self.LegDamage or 0) - CurTime())
|
||||
end
|
||||
|
||||
function meta:WouldDieFrom(damage, hitpos)
|
||||
|
|
Loading…
Reference in a new issue