From d047c632ed3cb44d2c3f16a61745b2dfacf59caf Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Mon, 27 Jan 2025 12:32:31 +0100 Subject: [PATCH] Fix counting in stinky tracker --- Modules/StinkyTracker.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/StinkyTracker.lua b/Modules/StinkyTracker.lua index 899b1a3..54f4852 100644 --- a/Modules/StinkyTracker.lua +++ b/Modules/StinkyTracker.lua @@ -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