diff --git a/gamecore/modules/assets/animator.lua b/gamecore/modules/assets/animator.lua index b9d7a0f..9a42ba8 100644 --- a/gamecore/modules/assets/animator.lua +++ b/gamecore/modules/assets/animator.lua @@ -60,6 +60,7 @@ function Animator:update(dt) if self.frameTimer > 1 then self.frameTimer = 0 if self.frame == self.animationData.endAt then + self:sendCallback() if not (self.animationData.pauseAtEnd) then self.frame = self.animationData.loop end