From e49b5ecbe08c1ce11aa959a82f6f03dfcc0de669 Mon Sep 17 00:00:00 2001 From: Jason Bou-Samra <154414066+bou-samra@users.noreply.github.com> Date: Wed, 30 Oct 2024 09:54:42 +1100 Subject: [PATCH] Update hiscore.c --- src/hiscore.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hiscore.c b/src/hiscore.c index 15ddc92..9fa7220 100644 --- a/src/hiscore.c +++ b/src/hiscore.c @@ -171,9 +171,11 @@ int end_game(void) { if (game_end == 1) { // restart Ren_restart(); // Ren_restart(); + check_key(); } else if (game_end == 2) { // game over if (score < hscores1[7]) { Ren_restart(); // if score less then lowest on list, no name entry + check_key(); } else { Ren_gameover(); insert_score(score); // else display name entry dialog