Skip to content

Commit

Permalink
- DF lib update
Browse files Browse the repository at this point in the history
  • Loading branch information
cont1nuity committed Feb 19, 2024
1 parent 258dc73 commit e510bc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/DF/fw.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


local dversion = 514
local dversion = 515
local major, minor = "DetailsFramework-1.0", dversion
local DF, oldminor = LibStub:NewLibrary(major, minor)

Expand Down Expand Up @@ -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 (not parent:HasScript("OnUpdate")) then
if (parent:HasScript("OnUpdate") and not parent:GetScript("OnUpdate")) then
parent:SetScript("OnUpdate", function()end)
end
end
Expand Down

0 comments on commit e510bc4

Please sign in to comment.