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
|
||||
self.db.profile.valorPoints[name] = earnedThisWeek
|
||||
print('Storing',earnedThisWeek,'for',name)
|
||||
|
||||
savedInstances = GetNumSavedInstances()
|
||||
local savedInstances = GetNumSavedInstances()
|
||||
|
||||
for i = 0, savedInstances do
|
||||
local instanceName,_,instanceReset,_,_,_,_,_,_,_,_,defeatedBosses = GetSavedInstanceInfo(i)
|
||||
|
||||
if trackedInstances[instanceName] == true then
|
||||
print('Found',instanceName)
|
||||
if self.db.profile.lockouts[name] == nil then
|
||||
self.db.profile.lockouts[name] = {}
|
||||
end
|
||||
|
||||
if instanceReset > 0 then
|
||||
print('saving',instanceName,'for',name,'with',defeatedBosses,'defeated')
|
||||
self.db.profile.lockouts[name][instanceName] = defeatedBosses
|
||||
else
|
||||
print('resetting',instanceName)
|
||||
self.db.profile.lockouts[name][instanceName] = nil
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue