Fix up more logs
This commit is contained in:
@@ -19,6 +19,8 @@ function shared.MinimapTagger.Init()
|
|||||||
local maxSize = w > h and w or h
|
local maxSize = w > h and w or h
|
||||||
if Heimdall_Data.config.minimapTagger.debug then
|
if Heimdall_Data.config.minimapTagger.debug then
|
||||||
print(string.format("[%s] Minimap size: %d", ModuleName, maxSize))
|
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
|
end
|
||||||
local iconSize = maxSize * 0.05
|
local iconSize = maxSize * 0.05
|
||||||
iconSize = iconSize * scale
|
iconSize = iconSize * scale
|
||||||
@@ -50,7 +52,7 @@ function shared.MinimapTagger.Init()
|
|||||||
if Heimdall_Data.config.minimapTagger.debug then
|
if Heimdall_Data.config.minimapTagger.debug then
|
||||||
print(string.format("[%s] Alert progress%%: %f", ModuleName, progress))
|
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 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
|
end
|
||||||
self:SetAlpha(1 - progress)
|
self:SetAlpha(1 - progress)
|
||||||
|
|
||||||
@@ -235,9 +237,9 @@ function shared.MinimapTagger.Init()
|
|||||||
-- end
|
-- end
|
||||||
|
|
||||||
if channelname ~= Heimdall_Data.config.minimapTagger.masterChannel then
|
if channelname ~= Heimdall_Data.config.minimapTagger.masterChannel then
|
||||||
-- if Heimdall_Data.config.echoer.debug then
|
if Heimdall_Data.config.minimapTagger.debug then
|
||||||
-- print(string.format("[%s] Ignoring message from non-master channel", ModuleName))
|
print(string.format("[%s] Ignoring message from non-master channel: %s, need %s", ModuleName, channelname, Heimdall_Data.config.minimapTagger.masterChannel))
|
||||||
-- end
|
end
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if Heimdall_Data.config.minimapTagger.debug then
|
if Heimdall_Data.config.minimapTagger.debug then
|
||||||
|
|||||||
Reference in New Issue
Block a user