From 86453a7b6575a3b987f5e9db2189de0842f6fde7 Mon Sep 17 00:00:00 2001 From: Xruptor Date: Wed, 13 Mar 2013 19:59:58 -0400 Subject: [PATCH] -Updated for TOC 5.2 -small fix for timed discrepency. --- XanBuffTimers.lua | 4 ++-- XanBuffTimers.toc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 1.7.9.5