midi slot fix (rename to i)

This commit is contained in:
brucelane
2018-03-07 19:19:12 +01:00
parent b1e2c3dbbf
commit a6a3ad245c

View File

@@ -1814,7 +1814,7 @@ LGraphNode.prototype.trigger = function( action, param )
for(var i = 0; i < this.outputs.length; ++i)
{
var output = this.outputs[ slot ];
var output = this.outputs[ i ];
if(!output || output.type !== LiteGraph.EVENT || (action && output.name != action) )
continue;
this.triggerSlot( i, param );