mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 08:01:22 +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
|
||||
|
||||
if data.remove then
|
||||
airutils.destroy_inventory(self)
|
||||
self.object:remove()
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue