Actually call next step when running a loop

This commit is contained in:
mmcw-dev 2017-12-20 20:53:21 -05:00
parent fc99b9ff06
commit 573287384d
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ sequence.step = function () {
} }
return sequence._loop.arr[sequence._state.count](() => { return sequence._loop.arr[sequence._state.count](() => {
sequence._state.count++ sequence._state.count++
sequence.step()
}) })
} else{ } else{
return sequence.stop() return sequence.stop()