Fix counting in stinky tracker
This commit is contained in:
@@ -190,7 +190,7 @@ function shared.StinkyTracker.Init()
|
|||||||
-- Log total stinky count after processing
|
-- Log total stinky count after processing
|
||||||
if Heimdall_Data.config.stinkyTracker.debug then
|
if Heimdall_Data.config.stinkyTracker.debug then
|
||||||
local count = 0
|
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))
|
print(string.format("[%s] Current total stinkies tracked: %d", ModuleName, count))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user