mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +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) {
|
Networker.prototype.sendGameCommand = function(command, options) {
|
||||||
var message = {};
|
this.sendCommand('gameCommand', ProtocolHelper.assemble(command, options));
|
||||||
message[command] = options || true;
|
|
||||||
this.sendCommand('gameCommand', message);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Networker.prototype.onUserLeft = function(userId) {
|
Networker.prototype.onUserLeft = function(userId) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue