Fixup mythic plus ending / segmenting

This commit is contained in:
andrew6180
2024-05-18 09:14:05 -07:00
parent 98ef74658d
commit 4b5102be79
3 changed files with 6 additions and 9 deletions
+1 -1
View File
@@ -3396,7 +3396,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") and not parent:GetScript("OnUpdate")) then
if (parent.HasScript and parent:HasScript("OnUpdate") and not parent:GetScript("OnUpdate")) then
parent:SetScript("OnUpdate", function()end)
end
end