Skip to content

Commit

Permalink
Core: also account for metavariance on countdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Zidras committed Dec 12, 2024
1 parent b0058e7 commit 304010f
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("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
}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 304010f

Please sign in to comment.