Mercurial > wow > buffalo2
diff ObjectiveInfo.lua @ 3:3397aae1f44d
- use the correct key value when searching for action buttons
- handle pre-built frames from XML
author | Nenue |
---|---|
date | Thu, 31 Mar 2016 07:32:05 -0400 |
parents | a2396b03ce63 |
children | e9b61fd5f607 |
line wrap: on
line diff
--- a/ObjectiveInfo.lua Thu Mar 31 01:38:47 2016 -0400 +++ b/ObjectiveInfo.lua Thu Mar 31 07:32:05 2016 -0400 @@ -128,7 +128,6 @@ local cheevID = Cheevs.trackedCheevs[index] local id, name, points, completed, month, day, year, description, flags, icon, rewardText, isGuildAch, wasEarnedByMe, earnedBy = GetAchievementInfo(cheevID) - print('|cFF00FF00', GetAchievementNumCriteria(cheevID)) self.Info[cheevID] = {} local c = self.Info[cheevID] c.type = 'Cheevs' @@ -154,6 +153,7 @@ criteriaID = criteriaID, } end + print('Cheevs.|cFF0088FFGetInfo|r('..index..')', 'obj:', GetAchievementNumCriteria(cheevID), name, description) self.WatchInfo[index] = c return self.Info[cheevID]