Do not report spotter for agents
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user