Skip to content

Commit

Permalink
Merge pull request #40 from skrmsh/fix/countdown-not-finishing
Browse files Browse the repository at this point in the history
Fixed counting down below zero
  • Loading branch information
olell authored Dec 25, 2023
2 parents 460a6b2 + 6855d37 commit 08569cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inc/scenes/countdown.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ bool CountdownScene::update() {
}

// if the countdown is finished change to the game scene
if (secLeft == 0) {
if (secLeft <= 0) {
hardwareVibrate(300);
ui->setScene(SCENE_GAME);
return false;
Expand Down

0 comments on commit 08569cd

Please sign in to comment.