Skip to content

Commit

Permalink
Update SkyFall.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Meowkewok authored Jan 21, 2025
1 parent 000567c commit a4a6eb8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions games/SkyFall.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ function moveMeteors() {

meteorSprites.forEach(meteorSprite => {
meteorSprite.y += 1;

if (meteorSprite.y >= height() - 1) {
meteorSprite.remove();
}
Expand Down Expand Up @@ -128,4 +127,4 @@ onInput("l", () => {
endGame();
});

moveMeteorInterval = setInterval(moveMeteors, 1000);
moveMeteorInterval = setInterval(moveMeteors, 1000);

0 comments on commit a4a6eb8

Please sign in to comment.