Skip to content

Commit

Permalink
fixed wrong event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Hunter Loftis committed Mar 16, 2012
1 parent ca96894 commit 0cd1145
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/public/js/boardVM.js
Expand Up @@ -82,8 +82,11 @@ function Board(options) {
this.render();
}, this]);

radio('game.tick').subscribe([function(player) {
radio('game.stop').subscribe([function(player) {
this.started(false);
}, this]);

radio('game.tick').subscribe([function(player) {
this.render();
}, this]);

Expand Down

0 comments on commit 0cd1145

Please sign in to comment.