Skip to content

Commit

Permalink
Fixed cooldown timer
Browse files Browse the repository at this point in the history
  • Loading branch information
mitjafelicijan committed Jul 14, 2024
1 parent 9922529 commit c01faf2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CooldownNumbers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ frame:SetScript("OnEvent", function()

cooldownFrame.countdownTimer:SetScript("OnUpdate", function()
if this.label then
local remaining = math.abs((start + duration) - GetTime())
-- local remaining = math.abs((start + duration) - GetTime())
local remaining = (GetTime() - (start + duration)) * -1
local labelText = nil

if remaining >= 3600 then
Expand Down

0 comments on commit c01faf2

Please sign in to comment.