Skip to content

Check, assert, and skip preloading brief icons as needed#7297

Open
MjnMixael wants to merge 1 commit intoscp-fs2open:masterfrom
MjnMixael:defensive-icon-preload
Open

Check, assert, and skip preloading brief icons as needed#7297
MjnMixael wants to merge 1 commit intoscp-fs2open:masterfrom
MjnMixael:defensive-icon-preload

Conversation

@MjnMixael
Copy link
Contributor

Ran into a CTD today after changing some ship classes to prop classes. The issue was bad data, but we can be more defensive here. If the icon is invalid, then assert and skip preloading it.

@wookieejedi wookieejedi added the fix A fix for bugs, not-a-bugs, and/or regressions. label Mar 18, 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants