Fixed a bug preventing Valor Points from resetting.
This commit is contained in:
parent
754ad92e27
commit
691540a108
1 changed files with 5 additions and 7 deletions
|
@ -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,
|
||||
|
@ -273,7 +272,6 @@ function core:ResetValorPoints()
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function core:UpdateRaidLockouts()
|
||||
|
|
Loading…
Reference in a new issue