1
0
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:
Ted John
2016-10-23 17:49:21 +01:00
parent 94a9c94c1f
commit 315c0e91ad

View File

@@ -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);
}
}