mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-17 20:41:38 +08:00
[lua] Closes #823, accessed global instead of property
This commit is contained in:
parent
8bb75ec9ba
commit
744230359b
@ -561,6 +561,7 @@ function AnimationState:setAnimation (trackIndex, animation, loop)
|
||||
local interrupt = true;
|
||||
local current = self:expandToIndex(trackIndex)
|
||||
local queue = self.queue
|
||||
local tracks = self.tracks
|
||||
if current then
|
||||
if current.nextTrackLast == -1 then
|
||||
-- Don't mix from an entry that was never applied.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user