Inconsistent Ammo Explosions
Submitted
Enenra asked for ticket submission. Ammo explosions are inconsistently induced based upon block types, with some causing explosions (cargo) while others do not (connector, cockpit, etc). The key difference appears to be in the OnDestroy() method, because the blocks that do not cause ammo explosions are calling ReleaseInventory(this.GetInventory()); prior to base.OnDestroy(). This effectively kicks the cargo out into space prior to code that would cause an ammo explosion, so there's nothing left to detonate.
Fixing this inconsistent behavior would entail removing the ReleaseInventory(this.GetInventory()); call for any block that can hold ammo (assembler, cockpit, connector, just to name a few).
Replies have been locked on this page!