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