From 52ac925d8e8a4255f36cc1e9a246916aab58e26a Mon Sep 17 00:00:00 2001 From: Zidras <10605951+Zidras@users.noreply.github.com> Date: Sun, 5 Jan 2025 14:09:32 +0000 Subject: [PATCH] Core: fix error on timer Start due to swapped logic order --- DBM-Core/DBM-Core.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DBM-Core/DBM-Core.lua b/DBM-Core/DBM-Core.lua index 2959c736..ff820fd7 100644 --- a/DBM-Core/DBM-Core.lua +++ b/DBM-Core/DBM-Core.lua @@ -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 } @@ -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) .. ")"