Code polish for release

This commit is contained in:
2024-12-12 17:58:28 +01:00
parent 33538be9f5
commit b5cffd0a88
5 changed files with 51 additions and 24 deletions

View File

@@ -4,7 +4,11 @@ local addonname, data = ...
data.DeathReporter = {}
function data.DeathReporter.Init()
if not data.config.deathReporter.enabled then return end
if not data.config.deathReporter.enabled then
print("Heimdall - DeathReporter disabled")
return
end
---@type table<string, number>
local recentDeaths = {}
---@type table<string, number>
@@ -84,4 +88,6 @@ function data.DeathReporter.Init()
if notifyTimers[destination] then notifyTimers[destination]:Cancel() end
end
end)
print("Heimdall - DeathReporter loaded")
end