fixed render loop
This commit is contained in:
parent
b4a2bd9df1
commit
a35706ce3d
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -18,7 +18,7 @@ window.requestAnimFrame = (function(){
|
|||
|
||||
function render() {
|
||||
// game code
|
||||
requestAnimFrame(animloop);
|
||||
requestAnimFrame(render);
|
||||
}
|
||||
|
||||
function block(lane) {
|
||||
|
|
Loading…
Reference in a new issue