summaryrefslogtreecommitdiff
path: root/public/js/game.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/game.js')
-rw-r--r--public/js/game.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/public/js/game.js b/public/js/game.js
index c348e9a..010f01f 100644
--- a/public/js/game.js
+++ b/public/js/game.js
@@ -6,7 +6,9 @@ var Game = {
init: function(){
// Bind events from the server
+ socket.on('event-welcome', Events.receive.join);
socket.on('event-join', Events.receive.join);
+ socket.on('event-part', Events.receive.join);
socket.on('event-message', Events.receive.message);
socket.on('event-image', Events.receive.image);
Auth.init();