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"],
|
["self"] = L["Self"],
|
||||||
["party"] = L["Party"],
|
["party"] = L["Party"],
|
||||||
["rw"] = L["Raid Warning"],
|
["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 {
|
return {
|
||||||
headerAnnouncements = {
|
headerAnnouncements = {
|
||||||
type = "header",
|
type = "header",
|
||||||
|
Loading…
Reference in New Issue
Block a user