-Updated for TOC 5.2
Xruptor [03-13-13 - 23:59]
-Updated for TOC 5.2
-small fix for timed discrepency.
diff --git a/XanBuffTimers.lua b/XanBuffTimers.lua
index ad9973f..c694f6d 100644
--- a/XanBuffTimers.lua
+++ b/XanBuffTimers.lua
@@ -723,12 +723,12 @@ 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/XanBuffTimers.toc b/XanBuffTimers.toc
index dd46469..0df8db4 100644
--- a/XanBuffTimers.toc
+++ b/XanBuffTimers.toc
@@ -1,8 +1,8 @@
-## Interface: 50001
+## Interface: 50200
## Title: xanBuffTimers
## Notes: A small text based progress bar system for target/focus/player buffs.
## Author: Xruptor
-## Version: 3.1
+## Version: 3.2
## SavedVariablesPerCharacter: XBT_DB
xanBuffTimers.lua