mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
refactoring
This commit is contained in:
parent
39af52dd14
commit
c256f8a729
8 changed files with 87 additions and 160 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue