From 1245c3b5e89365d4424263578e8ee4a9fea9373a Mon Sep 17 00:00:00 2001 From: Xruptor Date: Wed, 13 Mar 2013 19:39:45 -0400 Subject: [PATCH] -Updated for patch 5.2 -Small bug fix for time display discrepency. --- XanDebuffTimers.lua | 4 ++-- XanDebuffTimers.toc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/XanDebuffTimers.lua b/XanDebuffTimers.lua index ceb6dc4..6dd63f6 100644 --- a/XanDebuffTimers.lua +++ b/XanDebuffTimers.lua @@ -541,12 +541,12 @@ end function f:GetTimeText(timeLeft) local hours, minutes, seconds = 0, 0, 0 if( timeLeft >= 3600 ) then - hours = floor(timeLeft / 3600) + hours = ceil(timeLeft / 3600) timeLeft = mod(timeLeft, 3600) end if( timeLeft >= 60 ) then - minutes = floor(timeLeft / 60) + minutes = ceil(timeLeft / 60) timeLeft = mod(timeLeft, 60) end diff --git a/XanDebuffTimers.toc b/XanDebuffTimers.toc index f42928a..c6906e7 100644 --- a/XanDebuffTimers.toc +++ b/XanDebuffTimers.toc @@ -1,8 +1,8 @@ -## Interface: 50001 +## Interface: 50200 ## Title: xanDebuffTimers ## Notes: A small text based progress bar system for target debuffs. ## Author: Xruptor -## Version: 3.3 +## Version: 3.5 ## SavedVariablesPerCharacter: XDT_DB xanDebuffTimers.lua -- 1.7.9.5