Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[fix] Join with empty string when sending Arrays of events.
  • Loading branch information
indexzero committed May 22, 2013
1 parent a0443f5 commit 252902e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/godot/net/client.js
Expand Up @@ -109,7 +109,7 @@ Client.prototype.write = function (data) {
? JSON.stringify(data) + 'g!\n!t'
: data.map(function (d) {
return JSON.stringify(d) + 'g!\n!t';
}).join();
}).join('');

if (this.type === 'tcp' || this.type === 'unix') {
this.socket.write(message);
Expand Down

0 comments on commit 252902e

Please sign in to comment.