1
0
Fork 0

Remove debug prints.

This commit is contained in:
Andrew Tomaka 2011-08-21 11:01:32 -04:00
parent ecebed3b72
commit a77dae8531

View file

@ -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