mirror of
https://github.com/APercy/automobiles_pck
synced 2025-08-12 16:25:49 +02:00
added inventory destruction when auto removing
This commit is contained in:
parent
6747f57cc9
commit
910bb3fbca
@ -220,6 +220,7 @@ function automobiles_lib.on_activate(self, staticdata, dtime_s)
|
||||
|
||||
automobiles_lib.setText(self, self._vehicle_name)
|
||||
if data.remove then
|
||||
automobiles_lib.destroy_inventory(self)
|
||||
self.object:remove()
|
||||
return
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user