From 1b88a1cf64ebd91daefc7ab1a124e9f8c8096197 Mon Sep 17 00:00:00 2001 From: Bunny67 Date: Sat, 14 Aug 2021 11:49:02 +0300 Subject: [PATCH] fix typo --- WeakAuras/Animations.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WeakAuras/Animations.lua b/WeakAuras/Animations.lua index 6c5addd..11bdc74 100644 --- a/WeakAuras/Animations.lua +++ b/WeakAuras/Animations.lua @@ -81,7 +81,7 @@ local function UpdateAnimations() end else anim.region:ClearAllPoints(); - local ok, x, y = xpcall(anim.translateFunc, progress, anim.startX, anim.startY, anim.dX, anim.dY); + local ok, x, y = pcall(anim.translateFunc, progress, anim.startX, anim.startY, anim.dX, anim.dY); if not ok then errorHandler(x) else