Fix who parsing in spotter

This commit is contained in:
2025-01-10 12:16:21 +01:00
parent 2726955034
commit 30fae67f6c

View File

@@ -52,12 +52,13 @@ function shared.StinkyTracker.Init()
name = name,
class = class,
seenAt = GetTime(),
hostile = aggression == "Hostile"
hostile = aggression == shared.L.en.tidbits.hostile
}
stinkies[name] = stinky
if Heimdall_Data.config.stinkyTracker.debug then
print(string.format("[%s] Found stinky in SEE: %s (%s) - %s at %s", ModuleName, name, class, aggression,
date("%H:%M:%S", time())))
shared.dumpTable(stinkies)
end
return stinkies
end