Fix score display when winning

This commit is contained in:
Gabriel Augendre 2021-04-30 08:10:31 +02:00
parent 0b6551ac52
commit ee91c550a2

View file

@ -90,6 +90,7 @@ byte waitForButton() {
void endGame(LiquidCrystal lcd, bool win, byte score) {
lcd.clear();
if (win) {
score++; // Compensate for missing "+1" in the main loop.
lcd.print("Bravo!");
}
else {