summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2013-03-04 15:48:20 -0500
committerJules Laplace <jules@okfoc.us>2013-03-04 15:48:20 -0500
commit632a7220c2afdc99ae5942b919b42621a9c5df47 (patch)
tree0cb7c5d1e6b701ed31f5932de155b347967c237e /public/js
parent4dfa8d9dc602e11bf335d289ae7717f408403ca0 (diff)
bit of game logic
Diffstat (limited to 'public/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