diff --git a/frames/window_options2_sections.lua b/frames/window_options2_sections.lua index 5e7822dd..b823c58c 100644 --- a/frames/window_options2_sections.lua +++ b/frames/window_options2_sections.lua @@ -402,6 +402,15 @@ do name = Loc ["STRING_OPTIONS_BG_UNIQUE_SEGMENT"], desc = Loc ["STRING_OPTIONS_BG_UNIQUE_SEGMENT_DESC"], }, + {--battleground show enemies + type = "toggle", + get = function() return _detalhes.pvp_as_group end, + set = function (self, fixedparam, value) + _detalhes.pvp_as_group = value + end, + name = Loc ["STRING_OPTIONS_BG_ALL_ALLY"], + desc = Loc ["STRING_OPTIONS_BG_ALL_ALLY_DESC"], + }, {type = "blank"}, diff --git a/functions/slash.lua b/functions/slash.lua index 91136ec0..0f040721 100644 --- a/functions/slash.lua +++ b/functions/slash.lua @@ -1602,7 +1602,7 @@ Damage Update Status: @INSTANCEDAMAGESTATUS else Details:Msg("coach disabled.") - Details.DisableCoach() + Details.Coach.Disable() end elseif (msg == "9") then