From 6f73790f5aff990d628f0076ba11a65635bf1ffa Mon Sep 17 00:00:00 2001 From: mmcw-dev Date: Fri, 20 Oct 2017 20:05:51 -0400 Subject: [PATCH] Was using undefined variable. Silly me. --- lib/intval/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/intval/index.js b/lib/intval/index.js index f73d4a8..389e849 100644 --- a/lib/intval/index.js +++ b/lib/intval/index.js @@ -267,7 +267,7 @@ intval.frame = function (dir = null, time = null) { dir = false } - if (time === null && intval._state.time !== 0) { + if (time === null && intval._state.frame.time !== 0) { time = intval._state.time } else if (time === null) { time = 0 //default speed