KnuckleCracker / CW4-bug-tracker

The gathering point for bugs and supporting information, or suggestions about additional features.
Creative Commons Attribution Share Alike 4.0 International
13 stars 2 forks source link

Specifying invalid destroy explosion created null reference exception #1030

Closed knucracker closed 2 years ago

knucracker commented 2 years ago

If an invalid destruction explosion is specified in the cmod editor, a null reference exception will be thrown when the custom unit is destroyed

knucracker commented 2 years ago

Added a check to make sure the returned explosion is valid before setting it's tag. Fixed in 2.3.2