From a4a6eb8c2aa875bcba9c8b331439683f40c93275 Mon Sep 17 00:00:00 2001 From: Ezra Lederman Date: Tue, 21 Jan 2025 11:24:50 -0500 Subject: [PATCH] Update SkyFall.js --- games/SkyFall.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);