rogue4: make sure score list appears when exiting
This commit is contained in:
parent
3f546ef2eb
commit
cfa162874e
2 changed files with 5 additions and 0 deletions
|
|
@ -209,6 +209,7 @@ command()
|
|||
clrtoeol();
|
||||
refresh();
|
||||
endwin();
|
||||
printf("See you soon, %s!\n", whoami);
|
||||
exit(0);
|
||||
}
|
||||
when '.' : ; /* Rest command */
|
||||
|
|
|
|||
|
|
@ -272,6 +272,10 @@ register char monst;
|
|||
move(LINES-1, 0);
|
||||
refresh();
|
||||
score(purse, 0, monst);
|
||||
/* Make sure the output gets through */
|
||||
printf("[Press return to exit]\n");
|
||||
fflush(NULL);
|
||||
getchar();
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue