Skip to content

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

Open
chdoc wants to merge 1 commit intoDFHack:developfrom
chdoc:fix-getFocusPenalty
Open

Handle units without current soul in Units::getFocusPenalty#5799
chdoc wants to merge 1 commit intoDFHack: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
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

1 participant