Fix "Save" menu action not working (only "Save As" worked)

(thanks to Ir the Great for this patch)
This commit is contained in:
2017-12-16 16:36:32 -05:00
parent 3e2bf582de
commit 513d926032

View File

@@ -2183,6 +2183,7 @@ void do_load() {
finish_load_party();
if(overall_mode != MODE_STARTUP)
post_load();
univ.file = file_to_load;
menu_activate();
}
@@ -2683,6 +2684,7 @@ void start_new_game(bool force) {
if(force) return;
fs::path file = nav_put_party();
if(!file.empty()) save_party(file, univ);
univ.file = file;
}
location get_cur_direction(location the_point) {