Explorar o código

[lua] Fixed bug in AnimationState:queueEvent

badlogic %!s(int64=9) %!d(string=hai) anos
pai
achega
677eb60cec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      spine-lua/AnimationState.lua

+ 1 - 1
spine-lua/AnimationState.lua

@@ -487,7 +487,7 @@ function AnimationState:queueEvents (entry, animationTime)
   while i <= n do
     local event = events[i]
     if not (event.time < animationStart) then --// Discard events outside animation start/end.
-      queue.event(entry, event)
+      queue:event(entry, event)
     end
     i = i + 1
   end