mirror of
https://github.com/APercy/airutils.git
synced 2025-03-21 18:41:21 +00:00
fix damage starting as nil
This commit is contained in:
parent
8dcac84155
commit
d03daf4d45
1 changed files with 1 additions and 0 deletions
|
@ -633,6 +633,7 @@ function airutils.logic(self)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function damage_vehicle(self, toolcaps, ttime, damage)
|
local function damage_vehicle(self, toolcaps, ttime, damage)
|
||||||
|
damage = damage or 0
|
||||||
if (not toolcaps) then
|
if (not toolcaps) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue