1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Clear stale scenario repo pointers during language change.

This commit is contained in:
Michael Bernardi
2025-06-17 22:39:28 +10:00
parent 1bc0eca74c
commit b72e2e1c98
2 changed files with 3 additions and 0 deletions

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)
------------------------------------------------------------------------

View File

@@ -147,7 +147,9 @@ namespace OpenRCT2::Ui::Windows
void OnLanguageChange() override
{
_listItems.clear();
ScenarioRepositoryScan();
InitialiseListItems();
}
void OnMouseUp(WidgetIndex widgetIndex) override