From e888316c3bcb37c5ec39ca4310ce3c6f30ede051 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Fri, 6 Dec 2024 22:28:29 -0800 Subject: [PATCH] revert hostile notification fix now that the underlying issue in isDanger is fixed --- internal/notify/notifications.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/notify/notifications.lua b/internal/notify/notifications.lua index a0e103fbd..cd3341af6 100644 --- a/internal/notify/notifications.lua +++ b/internal/notify/notifications.lua @@ -71,7 +71,6 @@ 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