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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user