osc: check if midi is on before calling
This commit is contained in:
parent
a84c4a7559
commit
4a19a39e2b
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ if (customModule.init) {
|
|||
customModule.init()
|
||||
}
|
||||
|
||||
midi.init(receiveOsc)
|
||||
if (midi) midi.init(receiveOsc)
|
||||
|
||||
module.exports = {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue