mirror of
https://github.com/APercy/airutils
synced 2025-11-06 06:53:09 +01:00
added inventory destruction when auto removing
This commit is contained in:
parent
ed4a9d4d3e
commit
d605ae0acd
@ -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…
Reference in New Issue
Block a user