summaryrefslogtreecommitdiff
path: root/public/js/game.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2013-02-26 10:24:33 -0500
committerJules Laplace <jules@okfoc.us>2013-02-26 10:24:33 -0500
commit0f384052418447aa342b38c8df3b6a8a48c245ae (patch)
tree988610712787e06772caa107d22b8945edecfc0c /public/js/game.js
parentf031288fbd95ebb47729835a2930d0266482adcf (diff)
small event changes..
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();