Skip to content

Commit

Permalink
Update chat-client.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PortPixel authored Jul 1, 2016
1 parent cbec18c commit fead17f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/client/js/chat-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ class ChatClient {
this.registerCommand('login', 'Login as an admin.', function (args) {
self.socket.emit('pass', args);
});

chat.registerCommand('massboost', 'Adds mass', function (args) {
self.socket.emit('massboost', args);
});

this.registerCommand('kick', 'Kick a player, for admins only.', function (args) {
self.socket.emit('kick', args);
Expand Down

0 comments on commit fead17f

Please sign in to comment.