From 5bb11060e4ce343786abd9861c584b6cb36e9197 Mon Sep 17 00:00:00 2001 From: David PC Saiz Date: Wed, 8 Feb 2023 20:58:31 +0100 Subject: [PATCH] Score wird gespeichert --- src/Paper-Bin.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index dd6556a..32b1fe1 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -136,8 +136,10 @@ int main() case(2): ScorePoints -= 5; lifeCount--; - - + if (lifeCount < 1) + { + addScoreboard(); + } } for (int i = 0; i < 23; i++)