From 2c045ae715ff9d75a89ef15fe594f2b0718f7609 Mon Sep 17 00:00:00 2001 From: Lightemerald Date: Mon, 2 Jun 2025 10:03:43 +0200 Subject: [PATCH] Fix boosts not being cleared when game over --- game.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/game.c b/game.c index da8b935..46b4777 100644 --- a/game.c +++ b/game.c @@ -193,6 +193,9 @@ int main(int argc, char *argv[]) MLV_wait_seconds(3); global_score = previous_score; + boosts = 0; + boost_duration = 0; + speed = BASE_SPEED; break; } else if (result == BOOST)