Whoops, referenced "dir" not "val"

This commit is contained in:
mmcw-dev 2017-10-20 20:45:21 -04:00
parent 4e1a3783f0
commit 190732de13
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ intval.setDir = function (val = true) {
return log.warn('Direction must be represented as either true or false')
}
intval._state.dir = val
log.info('setDir', { direction : dir ? 'forward' : 'backward' })
log.info('setDir', { direction : val ? 'forward' : 'backward' })
}
intval.setTime = function (val = 0) {
intval._state.frame.time = val