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 e388706..1025d82 100644
--- a/public/js/game.js
+++ b/public/js/game.js
@@ -40,10 +40,12 @@ var Events = {
// Another player joins the room
join: function(data){
+ Events.receive.state(data);
},
// Another player leaves the room
part: function(data){
+ Events.receive.state(data);
},
// Game state changes