Update hiscore.c
This commit is contained in:
@@ -171,9 +171,11 @@ int end_game(void) {
|
|||||||
|
|
||||||
if (game_end == 1) { // restart
|
if (game_end == 1) { // restart
|
||||||
Ren_restart(); // Ren_restart();
|
Ren_restart(); // Ren_restart();
|
||||||
|
check_key();
|
||||||
} else if (game_end == 2) { // game over
|
} else if (game_end == 2) { // game over
|
||||||
if (score < hscores1[7]) {
|
if (score < hscores1[7]) {
|
||||||
Ren_restart(); // if score less then lowest on list, no name entry
|
Ren_restart(); // if score less then lowest on list, no name entry
|
||||||
|
check_key();
|
||||||
} else {
|
} else {
|
||||||
Ren_gameover();
|
Ren_gameover();
|
||||||
insert_score(score); // else display name entry dialog
|
insert_score(score); // else display name entry dialog
|
||||||
|
|||||||
Reference in New Issue
Block a user