Skip to content

Commit

Permalink
Heroic tag option only shows up in wrath
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonomit committed Oct 28, 2022
1 parent faef8f3 commit 3f1975d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1015,13 +1015,13 @@ function Addon:MakeExtraOptions(categoryName, chatCmd, arg1, ...)
GUI:CreateGroup(opts, GUI:Order(), " ", nil, true)

-- Heroic
do
if self.expansionLevel >= self.expansions.wrath then
local stat = "Heroic"

local samples = {}
local defaultText = ITEM_HEROIC
local _, formattedText = GetFormattedText(stat, self.COLORS.GREEN, defaultText, self:RewordHeroic(defaultText))
defaultText = "|T132320:0|t " .. Addon:MakeColorCode(Addon.COLORS.GRAY, defaultText)
defaultText = "|T132320:0|t " .. self:MakeColorCode(self.COLORS.GRAY, defaultText)
tinsert(samples, {defaultText, formattedText})

local opts = GUI:CreateGroup(opts, stat, samples[1][2], nil, disabled)
Expand Down

0 comments on commit 3f1975d

Please sign in to comment.