Was using undefined variable. Silly me.

This commit is contained in:
mmcw-dev 2017-10-20 20:05:51 -04:00
parent 736a0c858b
commit 6f73790f5a
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ intval.frame = function (dir = null, time = null) {
dir = false dir = false
} }
if (time === null && intval._state.time !== 0) { if (time === null && intval._state.frame.time !== 0) {
time = intval._state.time time = intval._state.time
} else if (time === null) { } else if (time === null) {
time = 0 //default speed time = 0 //default speed