Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIRROR] Material container drops sheets only on object deconstruct &…
… not destroy. (#793) * Material container drops sheets only on object deconstruct & not destroy. (#81290) ## About The Pull Request - Fixes #81289 It has nothing to do with `dump_contents()` but with the material container that drops its materials on `Destroy()` causing side effects. Now it only drops sheets when an object is deconstructed but not destroyed. For this to work properly on all instances we have to ensure `deconstruct()` is not overridden at least on machines for now, so they can send `COMSIG_OBJ_DECONSTRUCT` signal. That comes in the next PR ## Changelog :cl: fix: deleting objects with local material storage(autolathe, drone dispenser etc) no longer drops sheets, they only drop materials when deconstructed /:cl: * Material container drops sheets only on object deconstruct & not destroy. --------- Co-authored-by: SyncIt21 <[email protected]>
- Loading branch information