change C_Timer.After

This commit is contained in:
Bunny67
2020-06-13 18:35:20 +03:00
parent c6b762342b
commit 5d45e5975f
2 changed files with 8 additions and 1 deletions
+3
View File
@@ -1234,6 +1234,9 @@ function GenericTrigger.Add(data, region)
triggerFunc = WeakAuras.LoadFunction("return "..(trigger.custom or ""), id);
if (trigger.custom_type == "stateupdate") then
tsuConditionVariables = WeakAuras.LoadFunction("return function() return \n" .. (trigger.customVariables or "") .. "\n end");
if not tsuConditionVariables then
tsuConditionVariables = function() return end
end
end
if(trigger.custom_type == "status" or trigger.custom_type == "event" and trigger.custom_hide == "custom") then