diff --git a/serpent.c b/serpent.c index c9ec049..cd55647 100644 --- a/serpent.c +++ b/serpent.c @@ -507,7 +507,9 @@ void run() { switch (choice) { case '1': if (!isAlive) { + cleanup(); snake = startSnake(); + apple = startApple(); isAlive = true; speed = minSpeed; }