Skip to content

Commit

Permalink
Two small fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
BonsaiDen committed Oct 26, 2010
1 parent 41d228a commit 887e0be
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client/nodegame.client.js
Expand Up @@ -209,7 +209,7 @@ Client.prototype.queueMessage = function(data) {
Client.prototype.processMessages = function() {
while(this.messages.length > 0) {
var msg = this.messages.shift();
this.handleMessage(msg[0], msg[1], msg[2]);
this.handleMessage(msg[0], msg[1]);
}
};

Expand Down Expand Up @@ -270,7 +270,9 @@ Client.prototype.handleMessage = function(data, time) {
delete this.actors[a[0]];
}
}
data.unshift(type);
if (this.recID !== -1) {
data.unshift(type);
}
};


Expand Down

0 comments on commit 887e0be

Please sign in to comment.