Remove debug prints.
This commit is contained in:
parent
ecebed3b72
commit
a77dae8531
1 changed files with 2 additions and 6 deletions
|
@ -29,24 +29,20 @@ function core:StoreChores()
|
||||||
|
|
||||||
if(level == 85) then
|
if(level == 85) then
|
||||||
self.db.profile.valorPoints[name] = earnedThisWeek
|
self.db.profile.valorPoints[name] = earnedThisWeek
|
||||||
print('Storing',earnedThisWeek,'for',name)
|
|
||||||
|
local savedInstances = GetNumSavedInstances()
|
||||||
savedInstances = GetNumSavedInstances()
|
|
||||||
|
|
||||||
for i = 0, savedInstances do
|
for i = 0, savedInstances do
|
||||||
local instanceName,_,instanceReset,_,_,_,_,_,_,_,_,defeatedBosses = GetSavedInstanceInfo(i)
|
local instanceName,_,instanceReset,_,_,_,_,_,_,_,_,defeatedBosses = GetSavedInstanceInfo(i)
|
||||||
|
|
||||||
if trackedInstances[instanceName] == true then
|
if trackedInstances[instanceName] == true then
|
||||||
print('Found',instanceName)
|
|
||||||
if self.db.profile.lockouts[name] == nil then
|
if self.db.profile.lockouts[name] == nil then
|
||||||
self.db.profile.lockouts[name] = {}
|
self.db.profile.lockouts[name] = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
if instanceReset > 0 then
|
if instanceReset > 0 then
|
||||||
print('saving',instanceName,'for',name,'with',defeatedBosses,'defeated')
|
|
||||||
self.db.profile.lockouts[name][instanceName] = defeatedBosses
|
self.db.profile.lockouts[name][instanceName] = defeatedBosses
|
||||||
else
|
else
|
||||||
print('resetting',instanceName)
|
|
||||||
self.db.profile.lockouts[name][instanceName] = nil
|
self.db.profile.lockouts[name][instanceName] = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue