Skip to content

Conversation

@Baezon
Copy link
Member

@Baezon Baezon commented Dec 9, 2025

Instead of searching for live debris, and then searching for that debris' parent, and then blowing them up, simply search for the submodels with live debris and blow them up directly. This simplifies the code and entirely skips needing and allows for the deletion of model_get_parent_submodel_for_live_debris which is good because it only handled submodels with live debris if they were a direct child of detail0, and would error if a ship with such a submodel were destroyed.

@Baezon Baezon added fix A fix for bugs, not-a-bugs, and/or regressions. Waiting for Stable Marks a pull request that is to be merged after the next stable release, due to a release cycle models Issues or features having to do with model data (like animations or geometry) labels Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A fix for bugs, not-a-bugs, and/or regressions. models Issues or features having to do with model data (like animations or geometry) Waiting for Stable Marks a pull request that is to be merged after the next stable release, due to a release cycle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant