1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 18:25:16 +01:00

Add plugin hook for map save

This commit is contained in:
Ted John
2022-03-07 20:40:48 +00:00
committed by GitHub
parent 11ce0e8f8a
commit b7b8816db7
12 changed files with 26 additions and 22 deletions

View File

@@ -2289,7 +2289,7 @@ int32_t scenario_save(u8string_view path, int32_t flags)
window_close_construction_windows();
}
viewport_set_saved_view();
PrepareMapForSave();
bool result = false;
auto parkFile = std::make_unique<OpenRCT2::ParkFile>();