diff --git a/games/SkyFall.js b/games/SkyFall.js index 9d6430bc59..2e9096169b 100644 --- a/games/SkyFall.js +++ b/games/SkyFall.js @@ -100,7 +100,6 @@ function moveMeteors() { meteorSprites.forEach(meteorSprite => { meteorSprite.y += 1; - if (meteorSprite.y >= height() - 1) { meteorSprite.remove(); } @@ -128,4 +127,4 @@ onInput("l", () => { endGame(); }); -moveMeteorInterval = setInterval(moveMeteors, 1000); \ No newline at end of file +moveMeteorInterval = setInterval(moveMeteors, 1000);