From c16e5f1e47cc09da552609e8cff067f930955d48 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Thu, 9 Jan 2025 15:32:57 +0100 Subject: [PATCH] Fix up more logs --- Modules/MinimapTagger.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Modules/MinimapTagger.lua b/Modules/MinimapTagger.lua index c22202d..07bad85 100644 --- a/Modules/MinimapTagger.lua +++ b/Modules/MinimapTagger.lua @@ -19,6 +19,8 @@ function shared.MinimapTagger.Init() local maxSize = w > h and w or h if Heimdall_Data.config.minimapTagger.debug then print(string.format("[%s] Minimap size: %d", ModuleName, maxSize)) + print(string.format("[%s] Scale: %d", ModuleName, scale)) + print(string.format("[%s] TTL: %d", ModuleName, ttl)) end local iconSize = maxSize * 0.05 iconSize = iconSize * scale @@ -50,7 +52,7 @@ function shared.MinimapTagger.Init() if Heimdall_Data.config.minimapTagger.debug then print(string.format("[%s] Alert progress%%: %f", ModuleName, progress)) print(string.format("[%s] Alert progress: %f", ModuleName, self.custom.progress)) - print(string.format("[%s] Alert ttl: %f", ModuleName, Heimdall_Data.config.minimapTagger.ttl)) + print(string.format("[%s] Alert ttl: %d", ModuleName, Heimdall_Data.config.minimapTagger.ttl)) end self:SetAlpha(1 - progress) @@ -235,9 +237,9 @@ function shared.MinimapTagger.Init() -- end if channelname ~= Heimdall_Data.config.minimapTagger.masterChannel then - -- if Heimdall_Data.config.echoer.debug then - -- print(string.format("[%s] Ignoring message from non-master channel", ModuleName)) - -- end + if Heimdall_Data.config.minimapTagger.debug then + print(string.format("[%s] Ignoring message from non-master channel: %s, need %s", ModuleName, channelname, Heimdall_Data.config.minimapTagger.masterChannel)) + end return end if Heimdall_Data.config.minimapTagger.debug then