diff --git a/lib/intval/index.js b/lib/intval/index.js index 389e849..da827aa 100644 --- a/lib/intval/index.js +++ b/lib/intval/index.js @@ -268,7 +268,7 @@ intval.frame = function (dir = null, time = null) { } if (time === null && intval._state.frame.time !== 0) { - time = intval._state.time + time = intval._state.frame.time } else if (time === null) { time = 0 //default speed }