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

This commit is contained in:
badlogic 2018-10-15 15:25:50 +02:00
parent 2bc3adb366
commit dc6601f1e2

View File

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