Skip to content

Commit

Permalink
Merge pull request #18 from hobnob/features/bugFix
Browse files Browse the repository at this point in the history
Fixes scoreboard bug
  • Loading branch information
hobnob committed Nov 29, 2012
2 parents 46e42aa + 98f4884 commit 260372f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions js/lib/startMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ function startMenu()
event.preventDefault();
}

$('#game_scorecard_bg').hide();

_world.init(lvlNum, mainSurface);
return false;
}
Expand Down
6 changes: 1 addition & 5 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,8 @@ gamejs.ready(function() {
{
switch ( event.keyCode )
{
//Enter, Space, up, w, and e will all move
//to the next level
//Enter and e will all move to the next level
case 13:
case 32:
case 38:
case 87:
case 69:
$('#game_scorecard .nextLevel').click();
event.preventDefault();
Expand Down

0 comments on commit 260372f

Please sign in to comment.