Skip to content

Handle units without current soul in Units::getFocusPenalty#5799

Merged
ab9rf merged 3 commits into
DFHack:developfrom
chdoc:fix-getFocusPenalty
May 13, 2026
Merged

Handle units without current soul in Units::getFocusPenalty#5799
ab9rf merged 3 commits into
DFHack:developfrom
chdoc:fix-getFocusPenalty

Conversation

@chdoc
Copy link
Copy Markdown
Member

@chdoc chdoc commented May 10, 2026

Handles units without current soul the same as units not having the checked need.

@chdoc chdoc linked an issue May 10, 2026 that may be closed by this pull request
@ab9rf ab9rf merged commit 3674ba1 into DFHack:develop May 13, 2026
14 checks passed
@chdoc chdoc deleted the fix-getFocusPenalty branch May 13, 2026 20:38
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.

Bug: Units::getFocusPenalty crashes on soulless units

2 participants