Harden final ClassicAPI audit interactions

This commit is contained in:
Dusk-92
2026-09-05 16:41:09 +02:00
parent 5bcbab1b74
commit 2f1c4f42cb
4 changed files with 86 additions and 68 deletions
+10
View File
@@ -187,6 +187,13 @@ module.enable = function(self)
MinimapClock:SetScript("OnEnter", function()
local h, m = GetGameTime()
local servertime = string.format("%.2d:%.2d", h, m)
local zonetime
local turtleClock = ShaguTweaks.GetTurtleClockTimes
if turtleClock then
servertime, zonetime = turtleClock()
end
local time = date("%H:%M")
GameTooltip:ClearLines()
@@ -195,6 +202,9 @@ module.enable = function(self)
GameTooltip:AddLine(T["Clock"])
GameTooltip:AddDoubleLine(T["Localtime"], time, 1,1,1,1,1,1)
GameTooltip:AddDoubleLine(T["Servertime"], servertime, 1,1,1,1,1,1)
if zonetime then
GameTooltip:AddDoubleLine(T["Zonetime"], zonetime, 1,1,1,1,1,1)
end
GameTooltip:Show()
end)