announcement show MSBT option only when MSBT is loaded
This commit is contained in:
parent
2c73188e15
commit
237130e3ce
@ -210,10 +210,15 @@ function Announcements:GetOptions()
|
||||
["self"] = L["Self"],
|
||||
["party"] = L["Party"],
|
||||
["rw"] = L["Raid Warning"],
|
||||
["fct"] = L["Blizzard's Floating Combat Text"],
|
||||
["msbt"] = L["MikScrollingBattleText"],
|
||||
}
|
||||
|
||||
if IsAddOnLoaded("Blizzard_CombatText") then
|
||||
destValues["fct"] = L["Blizzard's Floating Combat Text"]
|
||||
end
|
||||
if IsAddOnLoaded("MikScrollingBattleText") then
|
||||
destValues["msbt"] = L["MikScrollingBattleText"]
|
||||
end
|
||||
|
||||
return {
|
||||
headerAnnouncements = {
|
||||
type = "header",
|
||||
|
Loading…
Reference in New Issue
Block a user