1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00

Fix #4996: Objects unloaded after loading landscape

This commit is contained in:
Ted John
2017-01-05 19:55:36 +00:00
parent f201a8b43a
commit 038ea82777

View File

@@ -263,7 +263,9 @@ static void set_all_land_owned()
*/
bool editor_load_landscape(const utf8 *path)
{
window_close_construction_windows();
// #4996: Make sure the object selection window closes here to prevent unload objects
// after we have loaded a new park.
window_close_all();
uint32 extension = get_file_extension_type(path);
switch (extension) {