From 3e9775499fa9f496e7f48f76e2948419ecc36e45 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Mon, 19 Feb 2024 12:59:11 -0300 Subject: [PATCH] Framework Update --- Libs/DF/fw.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libs/DF/fw.lua b/Libs/DF/fw.lua index d6f18373..e561bdaa 100644 --- a/Libs/DF/fw.lua +++ b/Libs/DF/fw.lua @@ -1,6 +1,6 @@ -local dversion = 513 +local dversion = 515 local major, minor = "DetailsFramework-1.0", dversion local DF, oldminor = LibStub:NewLibrary(major, minor) @@ -3166,7 +3166,7 @@ local frameshake_play = function(parent, shakeObject, scaleDirection, scaleAmpli --update the amount of shake running on this frame parent.__frameshakes.enabled = parent.__frameshakes.enabled + 1 - if (parent:HasScript("OnUpdate")) then + if (parent:HasScript("OnUpdate") and not parent:GetScript("OnUpdate")) then parent:SetScript("OnUpdate", function()end) end end