Skip to content

Commit

Permalink
Core: fix error on timer Start due to swapped logic order
Browse files Browse the repository at this point in the history
  • Loading branch information
Zidras committed Jan 5, 2025
1 parent b28bebe commit 52ac925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DBM-Core/DBM-Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ local function currentFullDate()
end

DBM = {
Revision = parseCurseDate("20250101190123"),
Revision = parseCurseDate("20250105140835"),
DisplayVersion = "10.1.13 alpha", -- the string that is shown as version
ReleaseRevision = releaseDate(2024, 07, 20) -- the date of the latest stable version that is available, optionally pass hours, minutes, and seconds for multiple releases in one day
}
Expand Down Expand Up @@ -10036,8 +10036,8 @@ do
for i = #self.startedTimers, 1, -1 do
-- if DBM.Options.BadTimerAlert or DBM.Options.DebugMode and DBM.Options.DebugLevel > 1 then
local bar = DBT:GetBar(self.startedTimers[i])
if bar then
if mabs(bar.timer) > 0.1 then -- Positive and Negative ("keep") timers. Also shortened time window
if bar then
local remaining = ("%.2f"):format(bar.timer)
local ttext = _G[bar.frame:GetName() .. "BarName"]:GetText() or ""
ttext = ttext .. "(" .. self.id .. "-" .. (timer or 0) .. ")"
Expand Down

0 comments on commit 52ac925

Please sign in to comment.