Commit 56d75c48 authored by jhammen's avatar jhammen
Browse files

fix cc property access

parent 889bbac5
......@@ -57,8 +57,8 @@ script to tell us the last value sent by the control surface.
*/
local lastControlValue = 0
controller.onControl(function(cc, pos) {
if(cc.controller() == 15) {
lastControlValue = cc.value()
if(cc.controller == 15) {
lastControlValue = cc.value
}
})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment