Procházet zdrojové kódy

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

badlogic před 7 roky
rodič
revize
dc6601f1e2
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      spine-lua/AnimationState.lua

+ 1 - 0
spine-lua/AnimationState.lua

@@ -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