-- self.frame.achButtons[button].background:SetTexture("Interface\\AchievementFrame\\UI-Achievement-Parchment-Horizontal") |
end |
|
if reward ~= "" then --Theres a reward, it takes precidence |
if self:IsTracking(id) then |
self.frame.achButtons[button].expand:SetTextColor(0,1,0) |
self.frame.achButtons[button].expand:SetText("T") |
self.frame.achButtons[button].expand:Show() |
elseif reward ~= "" then --Theres a reward, it takes precidence |
self.frame.achButtons[button].expand:SetTextColor(1,0,0) |
self.frame.achButtons[button].expand:SetText("!") |
self.frame.achButtons[button].expand:Show() |