Refactor AgentTracker and related modules to improve agent management and logging
This commit is contained in:
@@ -31,7 +31,7 @@ function shared.Spotter.Init()
|
||||
print(string.format("[%s] Checking notification criteria for %s (%s)", ModuleName, name, faction))
|
||||
end
|
||||
|
||||
if Heimdall_Data.config.agents[name] then
|
||||
if shared.AgentTracker.IsAgent(name) then
|
||||
if Heimdall_Data.config.spotter.debug then
|
||||
print(string.format("[%s] Skipping agent: %s", ModuleName, name))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user