From 26b18e6abe597ee0c0581bd7cb6f0882e97b6e99 Mon Sep 17 00:00:00 2001 From: lambtoken Date: Tue, 29 Jul 2025 15:19:37 +0200 Subject: [PATCH] inExpo fix --- tween.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tween.lua b/tween.lua index 4f2c681..3219e72 100644 --- a/tween.lua +++ b/tween.lua @@ -110,7 +110,7 @@ end -- expo local function inExpo(t, b, c, d) if t == 0 then return b end - return c * pow(2, 10 * (t / d - 1)) + b - c * 0.001 + return c * (pow(2, 10 * (t / d - 1)) - 0.001) + b end local function outExpo(t, b, c, d) if t == d then return b + c end