osc: check if midi is on before calling

This commit is contained in:
jean-emmanuel 2017-02-25 01:18:27 +01:00
parent a84c4a7559
commit 4a19a39e2b

View file

@ -157,7 +157,7 @@ if (customModule.init) {
customModule.init()
}
midi.init(receiveOsc)
if (midi) midi.init(receiveOsc)
module.exports = {