[lua] Fixes #1195, events on higher tracks did not fire.

This commit is contained in:
badlogic 2018-10-15 15:27:56 +02:00
parent cfd984a877
commit 8e7b8cc58b

View File

@ -413,6 +413,7 @@ function AnimationState:apply (skeleton)
end end
self:queueEvents(current, animationTime) self:queueEvents(current, animationTime)
self.events = {}; self.events = {};
events = self.events;
current.nextAnimationLast = animationTime current.nextAnimationLast = animationTime
current.nextTrackLast = current.trackTime current.nextTrackLast = current.trackTime
end end