浏览代码

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

badlogic 7 年之前
父节点
当前提交
8e7b8cc58b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      spine-lua/AnimationState.lua

+ 1 - 0
spine-lua/AnimationState.lua

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