Fix restore party in scenario. Fix #597
This commit is contained in:
@@ -3316,11 +3316,13 @@ void handle_death() {
|
|||||||
}
|
}
|
||||||
else if(choice == "load") {
|
else if(choice == "load") {
|
||||||
fs::path file_to_load = nav_get_or_decode_party();
|
fs::path file_to_load = nav_get_or_decode_party();
|
||||||
if(!file_to_load.empty()) load_party(file_to_load, univ);
|
if(!file_to_load.empty()){
|
||||||
if(univ.party.is_alive()) {
|
if(load_party(file_to_load, univ)){
|
||||||
if(overall_mode != MODE_STARTUP)
|
finish_load_party();
|
||||||
post_load(), finish_load_party();
|
if(overall_mode != MODE_STARTUP)
|
||||||
return;
|
post_load();
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(choice == "new") {
|
else if(choice == "new") {
|
||||||
|
Reference in New Issue
Block a user