Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
micheleciondolo authored May 24, 2024
1 parent dc41a95 commit bc1693c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ Main.prototype = {
// tile.body.friction.x = 1000;
},
randomObject : function() {

if(score >= 19) return;
var randomNumber = Math.random();


Expand Down

0 comments on commit bc1693c

Please sign in to comment.