Skip to content

Units::setPathGoal check for NULL unit. - #5980

Merged
ab9rf merged 2 commits into
DFHack:developfrom
SilasD:setPathGoal
Sep 26, 2026
Merged

ab9rf merged 2 commits into
DFHack:developfrom
SilasD:setPathGoal

Conversation

@SilasD

@SilasD SilasD commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Units::setPathGoal() didn't check for a NULL unit; now it does. This also fixes Lua dfhack.units.setPathGoal().

I know I'm down to the wire; it's cool if this doesn't make it in. I took so long because I was figuring out how to use the test harness.

@ab9rf
ab9rf merged commit 7e4d619 into DFHack:develop Sep 26, 2026
14 checks passed
@ab9rf

ab9rf commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

closes #5978

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.

2 participants