mirror of
https://github.com/APercy/airutils.git
synced 2025-03-21 18:41:21 +00:00
added inventory destruction when auto removing
This commit is contained in:
parent
ed4a9d4d3e
commit
d605ae0acd
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ function airutils.on_activate(self, staticdata, dtime_s)
|
||||||
end
|
end
|
||||||
|
|
||||||
if data.remove then
|
if data.remove then
|
||||||
|
airutils.destroy_inventory(self)
|
||||||
self.object:remove()
|
self.object:remove()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue