Whoops, referenced "dir" not "val"
This commit is contained in:
parent
4e1a3783f0
commit
190732de13
|
@ -246,7 +246,7 @@ intval.setDir = function (val = true) {
|
||||||
return log.warn('Direction must be represented as either true or false')
|
return log.warn('Direction must be represented as either true or false')
|
||||||
}
|
}
|
||||||
intval._state.dir = val
|
intval._state.dir = val
|
||||||
log.info('setDir', { direction : dir ? 'forward' : 'backward' })
|
log.info('setDir', { direction : val ? 'forward' : 'backward' })
|
||||||
}
|
}
|
||||||
intval.setTime = function (val = 0) {
|
intval.setTime = function (val = 0) {
|
||||||
intval._state.frame.time = val
|
intval._state.frame.time = val
|
||||||
|
|
Loading…
Reference in New Issue