diff --git a/src/server/osc/index.js b/src/server/osc/index.js index a886a572..7252411f 100644 --- a/src/server/osc/index.js +++ b/src/server/osc/index.js @@ -59,7 +59,7 @@ class OscServer { var lastArg = args[args.length - 1], options = {} if (typeof lastArg === 'object' && lastArg !== null && lastArg.type === undefined) { - options = lastArg + options = args.pop() } this.receiveOsc({host, port, address, args:args.map(x=>this.parseArg(x))}, options.clientId) },