Clear stale scenario repo pointers during language change.

This commit is contained in:
Michael Bernardi committed 2025-06-17 22:42:18 +10:00
1 parent 1bc0eca74c
commit b72e2e1c98
2 files changed
+3

No files matched your search

+1
View File
@@ -146,6 +146,7 @@
- Fix: [#24009] [Plugin] The object manager API does not identify recently introduced object types.
- Fix: [#24028] Giga and LSM Launched Coaster booster sprites have pixels that draw over transparent pixels.
- Fix: [#24077] Track Designer crashes when clicking the park fence.
- Fix: [#24527] Minor string artefacts when rebuilding scenario index.
0.4.20 (2025-02-25)
------------------------------------------------------------------------
@@ -147,7 +147,9 @@ namespace OpenRCT2::Ui::Windows
void OnLanguageChange() override
{
_listItems.clear();
ScenarioRepositoryScan();
InitialiseListItems();
}
void OnMouseUp(WidgetIndex widgetIndex) override