From 573287384d36fb4f2e8df8110e117a6c63120090 Mon Sep 17 00:00:00 2001 From: mmcw-dev Date: Wed, 20 Dec 2017 20:53:21 -0500 Subject: [PATCH] Actually call next step when running a loop --- lib/sequence/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/sequence/index.js b/lib/sequence/index.js index 3f196d5..a134ea3 100644 --- a/lib/sequence/index.js +++ b/lib/sequence/index.js @@ -77,6 +77,7 @@ sequence.step = function () { } return sequence._loop.arr[sequence._state.count](() => { sequence._state.count++ + sequence.step() }) } else{ return sequence.stop()