Skip to content

remove use of Materials module from probe#5816

Open
ab9rf wants to merge 1 commit into
DFHack:developfrom
ab9rf:remove-materials-module-probe
Open

remove use of Materials module from probe#5816
ab9rf wants to merge 1 commit into
DFHack:developfrom
ab9rf:remove-materials-module-probe

Conversation

@ab9rf
Copy link
Copy Markdown
Member

@ab9rf ab9rf commented May 23, 2026

The Materials module isn't doing anything really useful for probe now that DF's inorganic tables are directly accessible

Also remove UB use of a union and clean up headers (at least somewhat)

no direct user facing change (although this does mitigate a possible issue that can arise if the player runs probe in one world, then unloads that world and loads another one with different raws, because the Materials module doesn't drop its cache when the raws are modified)

also remove UB use of a union and clean up headers (at least somewhat)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant