Skip to content

clear ship registry after mission#7523

Open
Goober5000 wants to merge 1 commit into
scp-fs2open:masterfrom
Goober5000:fix/ship_registry
Open

clear ship registry after mission#7523
Goober5000 wants to merge 1 commit into
scp-fs2open:masterfrom
Goober5000:fix/ship_registry

Conversation

@Goober5000

Copy link
Copy Markdown
Contributor

Create a ship_level_close() function and call it from game_level_close(). Among other tasks, this clears the ship registry to prevent SEXPs or scripts from obtaining references to ships that have been deleted.

Follow-up to #7522.

Create a `ship_level_close()` function and call it from `game_level_close()`.  Among other tasks, this clears the ship registry to prevent SEXPs or scripts from obtaining references to ships that have been deleted.

Follow-up to scp-fs2open#7522.
@Goober5000 Goober5000 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 labels Jun 13, 2026
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. 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