fix replay restore from death

This commit is contained in:
2025-05-05 10:50:10 -05:00
parent 5fcba5cdc3
commit 65566d5ae5

View File

@@ -3602,6 +3602,10 @@ void handle_death() {
return;
}
else if(choice == "load"){
// When replaying, the fancy file picker and/or load are recorded as actions next
if(replaying){
break;
}
fs::path file_to_load = run_file_picker(false);
if(!file_to_load.empty()){
if(load_party(file_to_load, univ)){