From 90ead7f86ad6675f9918a728ff79045e1bcd9bf5 Mon Sep 17 00:00:00 2001 From: fdai7103 Date: Wed, 8 Feb 2023 21:01:38 +0100 Subject: [PATCH] Scoreboard Sortieren und Spiel beenden --- src/Paper-Bin.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 32b1fe1..6123ccf 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -139,6 +139,9 @@ int main() if (lifeCount < 1) { addScoreboard(); + sortScoreboard(); + return 0; + } }