Modified the UI redraw order in handle_death() to fix #250 and #558. (#560)

Fix #250
Fix #558
This commit is contained in:
josefwk
2025-02-02 12:51:24 -06:00
committed by GitHub
parent 6fc55ed311
commit a2c5bb3ed7

View File

@@ -3225,6 +3225,7 @@ void handle_death() {
std::string choice; std::string choice;
overall_mode = MODE_STARTUP; overall_mode = MODE_STARTUP;
reload_startup();
while(true) { while(true) {
// Use death (or leave Exile) dialog // Use death (or leave Exile) dialog
@@ -3246,7 +3247,6 @@ void handle_death() {
else if(choice == "new") { else if(choice == "new") {
// TODO: Windows version dumps to main screen without creating a party; which is better? // TODO: Windows version dumps to main screen without creating a party; which is better?
start_new_game(); start_new_game();
reload_startup();
return; return;
} }
} }