Update hiscore.c

This commit is contained in:
Jason Bou-Samra
2024-10-30 09:54:42 +11:00
committed by GitHub
parent 5f0ec6893d
commit e49b5ecbe0
+2
View File
@@ -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