diff --git a/sonic-radiance.love/core/modules/assets/animator.lua b/sonic-radiance.love/core/modules/assets/animator.lua index d788949..53da4e4 100644 --- a/sonic-radiance.love/core/modules/assets/animator.lua +++ b/sonic-radiance.love/core/modules/assets/animator.lua @@ -60,7 +60,9 @@ function Animator:update(dt) if self.frameTimer > 1 then self.frameTimer = 0 if self.frame == self.animationData.endAt then - self.frame = self.animationData.loop + if not (self.animationData.pauseAtEnd) then + self.frame = self.animationData.loop + end else self.frame = self.frame + 1 end