Was using undefined variable. Silly me.
This commit is contained in:
parent
736a0c858b
commit
6f73790f5a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue