From 691540a1084b908759b1ab50cb355a9fe42f10ea Mon Sep 17 00:00:00 2001 From: atomaka Date: Tue, 11 Oct 2011 12:09:45 -0400 Subject: [PATCH] Fixed a bug preventing Valor Points from resetting. --- ChoreTracker.lua | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/ChoreTracker.lua b/ChoreTracker.lua index 9171226..b16d61a 100644 --- a/ChoreTracker.lua +++ b/ChoreTracker.lua @@ -264,13 +264,11 @@ end function core:ResetValorPoints() for realm, realmTable in pairs(self.db.global) do for name in pairs(realmTable) do - if self.vpResetTime ~= false then - if self.db.global[realm][name].valorPoints.resetTime < time() then - self.db.global[realm][name].valorPoints = { - points = 0, - resetTime = 0, - } - end + if self.db.global[realm][name].valorPoints.resetTime < time() then + self.db.global[realm][name].valorPoints = { + points = 0, + resetTime = 0, + } end end end