Update ConditionOptions.lua

This commit is contained in:
Bunny67
2022-05-22 02:06:58 +03:00
parent b9c210fdfd
commit d589721369
+10 -12
View File
@@ -700,18 +700,16 @@ local function addControlsForChange(args, order, data, conditionVariable, totalA
return false;
end
if WeakAuras.IsRetail() then
args["condition" .. i .. "value" .. j .. "message type warning"] = {
type = "description",
width = WeakAuras.doubleWidth,
name = L["Note: Automated Messages to SAY and YELL are blocked outside of Instances."],
order = order,
hidden = function()
return not (anyMessageType("SAY") or anyMessageType("YELL") or anyMessageType("SMARTRAID"));
end
}
order = order + 1;
end
args["condition" .. i .. "value" .. j .. "message type warning"] = {
type = "description",
width = WeakAuras.doubleWidth,
name = L["Note: Automated Messages to SAY and YELL are blocked outside of Instances."],
order = order,
hidden = function()
return not (anyMessageType("SAY") or anyMessageType("YELL") or anyMessageType("SMARTRAID"));
end
}
order = order + 1;
args["condition" .. i .. "value" .. j .. "_indent"] = {
type = "description",