from retail

This commit is contained in:
NoM0Re
2025-01-06 19:47:37 +01:00
parent 873748218a
commit 7a185106f2
111 changed files with 359 additions and 195 deletions
+3 -3
View File
@@ -49,7 +49,7 @@ Returns the a tooltip for the additional properties.
GetTriggerConditions(data, triggernum)
Returns potential conditions that this trigger provides.
]]--
if not WeakAuras.IsCorrectVersion() or not WeakAuras.IsLibsOK() then return end
if not WeakAuras.IsLibsOK() then return end
local AddonName, Private = ...
-- Lua APIs
@@ -1634,9 +1634,9 @@ do
update_frame = CreateFrame("Frame");
end
if not(updating) then
update_frame:SetScript("OnUpdate", function()
update_frame:SetScript("OnUpdate", function(self, elapsed)
if not(WeakAuras.IsPaused()) then
WeakAuras.ScanEvents("FRAME_UPDATE");
WeakAuras.ScanEvents("FRAME_UPDATE", elapsed);
end
end);
updating = true;