Make sure maps are updated before saving

Thanks to @fosnola for spotting the issue.
This commit is contained in:
2023-01-20 09:07:48 -05:00
parent 5cd2ced8c2
commit 811c5d1c7c

View File

@@ -2186,6 +2186,7 @@ void do_save(short mode) {
print_buf(); print_buf();
return; return;
} }
if(univ.party.is_in_scenario()) save_outdoor_maps();
fs::path file = univ.file; fs::path file = univ.file;
if(mode == 1 || file.empty()) if(mode == 1 || file.empty())
file = nav_put_party(file); file = nav_put_party(file);