mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #4996: Objects unloaded after loading landscape
This commit is contained in:
parent
f201a8b43a
commit
038ea82777
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue