Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Template for new versions:
- `emigration`: save-and-reload no longer resets the emigration cycle timeout
- `geld`, `ungeld`: save-and-reload no longer loses changes done by `geld` and `ungeld` for units who are historical figures
- `rejuvenate`: fix error when specifying ``--age`` parameter
- `gui/notify`: don't classify (peacefully) visiting night creatures as hostile

## Misc Improvements
- `idle-crafting`: also support making shell crafts for workshops with linked input stockpiles
Expand Down
1 change: 1 addition & 0 deletions internal/notify/notifications.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ local function for_hostile(fn, reverse)
not dfhack.units.isFortControlled(unit) and
not dfhack.units.isHidden(unit) and
not dfhack.units.isAgitated(unit) and
(not unit.flags2.visitor or unit.flags2.visitor_uninvited) and
dfhack.units.isDanger(unit)
end, fn, reverse)
end
Expand Down