From 3ee90fb767028d842fde4e7166d99b620635a2e4 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sun, 5 Jan 2025 22:30:09 +0100 Subject: [PATCH] Do not report spotter for agents --- Modules/Spotter.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/Spotter.lua b/Modules/Spotter.lua index 7744260..2c7ec2d 100644 --- a/Modules/Spotter.lua +++ b/Modules/Spotter.lua @@ -27,6 +27,7 @@ function shared.Spotter.Init() ---@return boolean ---@return string? error local function ShouldNotify(unit, name, faction, hostile) + if Heimdall_Data.config.agents[name] then return false end if Heimdall_Data.config.spotter.stinky then if Heimdall_Data.config.stinkies[name] then return true end end