Skip to content

Commit

Permalink
Merge branch 'gh-pages'
Browse files Browse the repository at this point in the history
  • Loading branch information
csaez committed Oct 4, 2017
2 parents e3162b0 + 9e0a3d2 commit f64773c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ function gen_pipe_sprite(each_pipe) {
return(retval);
}


window.onload=function() {
init_game();
document.addEventListener("keydown", keyPush);
document.addEventListener("mousedown", keyPush);
setInterval(game, 1000/world.FPS)
}

Expand Down

0 comments on commit f64773c

Please sign in to comment.