mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Fix #4574: Changing the game language makes the scenery window wonky
This commit is contained in:
@@ -198,6 +198,9 @@ public:
|
||||
loadedObject->Load();
|
||||
}
|
||||
}
|
||||
UpdateLegacyLoadedObjectList();
|
||||
UpdateSceneryGroupIndexes();
|
||||
reset_type_to_ride_entry_index_map();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -386,6 +389,10 @@ private:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// HACK Scenery window will lose its tabs after changing the the scenery group indexing
|
||||
// for now just close it, but it will be better to later tell it to invalidate the tabs
|
||||
window_close_by_class(WC_SCENERY);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user