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; return false;
end end
if WeakAuras.IsRetail() then args["condition" .. i .. "value" .. j .. "message type warning"] = {
args["condition" .. i .. "value" .. j .. "message type warning"] = { type = "description",
type = "description", width = WeakAuras.doubleWidth,
width = WeakAuras.doubleWidth, name = L["Note: Automated Messages to SAY and YELL are blocked outside of Instances."],
name = L["Note: Automated Messages to SAY and YELL are blocked outside of Instances."], order = order,
order = order, hidden = function()
hidden = function() return not (anyMessageType("SAY") or anyMessageType("YELL") or anyMessageType("SMARTRAID"));
return not (anyMessageType("SAY") or anyMessageType("YELL") or anyMessageType("SMARTRAID")); end
end }
} order = order + 1;
order = order + 1;
end
args["condition" .. i .. "value" .. j .. "_indent"] = { args["condition" .. i .. "value" .. j .. "_indent"] = {
type = "description", type = "description",