Quantcast

-Updated for patch 5.2

Xruptor [03-13-13 - 23:39]
-Updated for patch 5.2
-Small bug fix for time display discrepency.
Filename
XanDebuffTimers.lua
XanDebuffTimers.toc
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