Fix up more logs

This commit is contained in:
2025-01-09 15:32:57 +01:00
parent 059f917acc
commit c16e5f1e47

View File

@@ -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