From 3f1975d69f559772a301bd0bcf23d6cf96923ef5 Mon Sep 17 00:00:00 2001 From: Anonomit Date: Fri, 28 Oct 2022 17:56:03 -0400 Subject: [PATCH] Heroic tag option only shows up in wrath --- Config.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Config.lua b/Config.lua index 9ba6a69..138da45 100644 --- a/Config.lua +++ b/Config.lua @@ -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)