mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
using assemble. fixes #7
This commit is contained in:
parent
84afcdfdd0
commit
d523b88e66
1 changed files with 1 additions and 3 deletions
|
|
@ -67,9 +67,7 @@ define(["Protocol/Helper", "Chuck/ClientGame"], function(ProtocolHelper, ClientG
|
|||
}
|
||||
|
||||
Networker.prototype.sendGameCommand = function(command, options) {
|
||||
var message = {};
|
||||
message[command] = options || true;
|
||||
this.sendCommand('gameCommand', message);
|
||||
this.sendCommand('gameCommand', ProtocolHelper.assemble(command, options));
|
||||
}
|
||||
|
||||
Networker.prototype.onUserLeft = function(userId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue