Fix boosts not being cleared when game over

This commit is contained in:
2025-06-02 10:03:43 +02:00
parent fd49d9a147
commit 2c045ae715

3
game.c
View File

@@ -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)