From 0491b4e6749ff7bdd8c4cded9ac9f96bc1f58e07 Mon Sep 17 00:00:00 2001 From: KreeganTrimtroddler <164757046+KreeganTrimtroddler@users.noreply.github.com> Date: Sun, 22 Jun 2025 04:04:39 +0700 Subject: [PATCH] Fix playTween2 completion condition for overshooting easing --- src/Animations/Types/Tween.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Animations/Types/Tween.lua b/src/Animations/Types/Tween.lua index 1954142..a167cc9 100644 --- a/src/Animations/Types/Tween.lua +++ b/src/Animations/Types/Tween.lua @@ -113,7 +113,7 @@ local function playTween2(tweenInfo: TweenInfo, callback: Callback, comp callback(value) - if value >= 1 then + if alpha >= 1 then if tweenRepeatCount ~= 0 and repeats < tweenRepeatCount then repeats += 1 elapsed = 0