From 304010f2bbdb989129b69c7111ebe1cdf43b1830 Mon Sep 17 00:00:00 2001 From: Zidras <10605951+Zidras@users.noreply.github.com> Date: Thu, 12 Dec 2024 10:23:19 +0000 Subject: [PATCH] Core: also account for metavariance on countdown --- 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 f9a7eb07..0da703fb 100644 --- a/DBM-Core/DBM-Core.lua +++ b/DBM-Core/DBM-Core.lua @@ -82,7 +82,7 @@ local function currentFullDate() end DBM = { - Revision = parseCurseDate("20241210235130"), + Revision = parseCurseDate("20241212102112"), 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 } @@ -10176,7 +10176,7 @@ do if not self.fade and (type(countVoice) == "string" or countVoice > 0) then--Started without faded and has count voice assigned DBM:Unschedule(playCountSound, id) -- Prevents count sound if timer is started again before timer expires -- minTimer checks for the minimum possible timer in the variance timer string sent from Start method, self.minTimer is from newTimer constructor. Else, use timer value - playCountdown(id, minTimer or self.minTimer or timer, countVoice, countVoiceMax, self.requiresCombat)--timerId, timer, voice, count + playCountdown(id, minTimer or (hasVariance and self.minTimer) or timer, countVoice, countVoiceMax, self.requiresCombat)--timerId, timer, voice, count end end -- timerStringWithVariance checks for timer string sent from Start method, self.timerStringWithVariance is from newTimer constructor. Else, use timer value