dont need that one

This commit is contained in:
ThatGamerBlue
2022-06-28 23:52:00 +01:00
committed by GitHub
parent aa1f0a2fbc
commit 47be8143de

View File

@@ -75,9 +75,6 @@ public class GameHandler implements KeyListener {
ateApple = true; ateApple = true;
score++; score++;
SnakeGame.currentRefreshInterval = Math.max(50, DEFAULT_REFRESH_INTERVAL - score); SnakeGame.currentRefreshInterval = Math.max(50, DEFAULT_REFRESH_INTERVAL - score);
if (score == 15) {
game.stop();
}
} }
if (!ateApple) { if (!ateApple) {