Actually call next step when running a loop
This commit is contained in:
parent
fc99b9ff06
commit
573287384d
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue