Skip to content

bodyswap: pass the just_born argument to create_nemesis - #1608

Merged
ab9rf merged 1 commit into
DFHack:masterfrom
magnus-ISU:fix-bodyswap-create-nemesis-args
Sep 1, 2026
Merged

bodyswap: pass the just_born argument to create_nemesis#1608
ab9rf merged 1 commit into
DFHack:masterfrom
magnus-ISU:fix-bodyswap-create-nemesis-args

Conversation

@magnus-ISU

Copy link
Copy Markdown
Contributor

unit:create_nemesis takes (important, inplay, just_born); the two-argument call fails with "cannot invoke unit.create_nemesis(): invalid argument count", so bodyswapping into a unit that has no nemesis record errors out.

unit:create_nemesis takes (important, inplay, just_born); the two-argument
call fails with "cannot invoke unit.create_nemesis(): invalid argument
count", so bodyswapping into a unit that has no nemesis record errors out.
@ab9rf
ab9rf merged commit c19c2de into DFHack:master Sep 1, 2026
10 checks passed
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