Fix counting in stinky tracker

This commit is contained in:
2025-01-27 12:32:31 +01:00
parent 9eb5c04a33
commit d047c632ed

View File

@@ -190,7 +190,7 @@ function shared.StinkyTracker.Init()
-- Log total stinky count after processing
if Heimdall_Data.config.stinkyTracker.debug then
local count = 0
for _ in pairs(shared.stinkyTracker.stinkies) do count = count + 1 end
for _ in pairs(shared.stinkyTracker.stinkies:get()) do count = count + 1 end
print(string.format("[%s] Current total stinkies tracked: %d", ModuleName, count))
end