Fixed EventTimeline.

#300
This commit is contained in:
NathanSweet 2014-09-30 01:25:35 +02:00
parent 9a1447b799
commit eafcc2829f

View File

@ -463,7 +463,7 @@ function Animation.EventTimeline.new ()
if not firedEvents then return end
local frames = self.frames
local frameCount = #frames
local frameCount = #frames + 1
if lastTime > time then -- Fire events after last time for looped animations.
self:apply(skeleton, lastTime, 999999, firedEvents, alpha)