refactoring

This commit is contained in:
Logsol 2013-01-05 06:16:42 +01:00
parent 39af52dd14
commit c256f8a729
8 changed files with 87 additions and 160 deletions

View file

@ -85,7 +85,7 @@ function (User, Channel, PipeToChannel, NotificationCenter) {
channelPipe.send('channel', { releaseUser: user.id });
}, this);
NotificationCenter.on('user/gameCommand', function (userId, data) {
NotificationCenter.on('user/controlCommand', function (userId, data) {
channelPipe.sendToUser(userId, data);
}, this);