improved punkbuster

This commit is contained in:
logsol 2014-06-07 17:52:33 +02:00
parent e7052754c3
commit a4120f6ff5
4 changed files with 19 additions and 5 deletions

View file

@ -18,14 +18,10 @@ function(Parent, Nc, ProtocolHelper, ProtocolParser) {
self.sendControlCommand("joinSuccess", options);
});
Nc.on(Nc.ns.channel.events.controlCommand.user + this.id, function(message) {
ProtocolHelper.applyCommand(message.data, self);
});
Nc.on(Nc.ns.channel.to.client.user.gameCommand.send + this.id, function(command, options) {
self.sendGameCommand(command, options);
});