Closed idolord closed 2 years ago
That should be a simple check which can be added to the ContainerSE class. It can automatically destroy itself if it sees no cargo inside itself. I can't think of a better place to add it; @Almamu your thoughts?
It would be important that this check ONLY apply to Jetcans, not other containers, so a typeID check would need to be in place as well.
Closing as fixed
Describe the bug jetcan stay in space enven when the content is emptyed
To Reproduce Steps to reproduce the behavior:
Expected behavior jetcan should self destruct if emptied.
Screenshots![image](https://user-images.githubusercontent.com/972844/159339387-8eb41d22-f1f6-49f7-8525-3c93ce409e3d.png)