Permalink
Browse files

Fixed bug introduced in last commit, position not being set on moving

  • Loading branch information...
1 parent 32a3c06 commit 843c8b74b3dd6ead877203acb3c40acc1f0baafd @jagregory jagregory committed Jun 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/js/game/kaboom.game.js
@@ -106,7 +106,7 @@ KaboomGame.prototype = {
});
if (canMove) {
- p.position = newPos;
+ p.position = playerRect.topLeft;
}
}
});

0 comments on commit 843c8b7

Please sign in to comment.