Skip to content

Commit 17a06a9

Browse files
committed
reversed condition fixed
1 parent 065138e commit 17a06a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

emigration.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function canLeave(unit)
6666

6767
return dfhack.units.isOwnRace(unit) and -- Doubtful check. naturalized citizens
6868
dfhack.units.isOwnCiv(unit) and -- might also want to leave.
69-
not dfhack.units.isActive(unit) and
69+
dfhack.units.isActive(unit) and
7070
not dfhack.units.isOpposedToLife(unit) and
7171
not unit.flags1.merchant and
7272
not unit.flags1.diplomat and

0 commit comments

Comments
 (0)