From c8bd23fe067debd616cecb14ce2cf642b4d748de Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Fri, 9 Aug 2024 21:42:59 -0700 Subject: [PATCH] remove unneeded checks --- internal/notify/notifications.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/notify/notifications.lua b/internal/notify/notifications.lua index f3ce18c39..cd3341af6 100644 --- a/internal/notify/notifications.lua +++ b/internal/notify/notifications.lua @@ -131,12 +131,9 @@ local function for_wildlife(fn, reverse) not unit.flags1.caged and not unit.flags1.chained and not dfhack.units.isHidden(unit) and - not dfhack.units.isFortControlled(unit) and not dfhack.units.isDanger(unit) and not is_stealer(unit) and not dfhack.units.isMischievous(unit) and - not dfhack.units.isMerchant(unit) and - not dfhack.units.isForest(unit) and not dfhack.units.isVisitor(unit) end, fn, reverse) end