Przeglądaj źródła

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

badlogic 7 lat temu
rodzic
commit
8e7b8cc58b
1 zmienionych plików z 1 dodań i 0 usunięć
  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