From a35b536120fbf75801f447fdea41e4c9bf7d5aba Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Fri, 30 Dec 2022 23:31:21 +0300 Subject: [PATCH] Fix arkanoid bug --- CHANGELOG.md | 1 + applications/plugins/arkanoid/arkanoid_game.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 748c0cee0..6a545a275 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ * CI/CD: Builds with extra apps pack included, see new option below * SubGHz: Allow manual creation of Nice Flor S, Nice Smilo * LF RFID: Allow removing password from T5577 to make it operational (PR #225 | by @TQMatvey & Tobirg (grvpvl)) +* Plugins -> Arkanoid: Fix bug with unability to continue game after first level * Plugins -> Morse Code: Fixed crashes, fixed known issues (PR #249 | by @gid9798) * Plugins -> USB Keyboard & Mouse: Added ESCAPE key (PR #243 | by @huuck) * Plugins -> SubGHz Bruteforcer: Add holtek HT12X protocol support diff --git a/applications/plugins/arkanoid/arkanoid_game.c b/applications/plugins/arkanoid/arkanoid_game.c index 0b0458424..af9976c98 100644 --- a/applications/plugins/arkanoid/arkanoid_game.c +++ b/applications/plugins/arkanoid/arkanoid_game.c @@ -276,6 +276,7 @@ void reset_level(Canvas* canvas, ArkanoidState* arkanoid_state) { arkanoid_state->ball_state.yb = 60; arkanoid_state->brickCount = 0; arkanoid_state->ball_state.released = false; + arkanoid_state->gameStarted = false; // Reset all brick hit states for(unsigned int row = 0; row < arkanoid_state->ROWS; row++) {