1
0
Fork 0

Fixed a bug preventing Valor Points from resetting.

This commit is contained in:
Andrew Tomaka 2011-10-11 12:09:45 -04:00
parent 754ad92e27
commit 691540a108

View file

@ -264,7 +264,6 @@ 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,
@ -274,7 +273,6 @@ function core:ResetValorPoints()
end
end
end
end
function core:UpdateRaidLockouts()
local savedInstances = GetNumSavedInstances()