1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 19:56:13 +01:00

Fix #17620. Missing setting ride id for construction window (#17622)

This would eventually cause a crash when trying to reset the window on last track piece deletion. Mistake made in refactor #17578
This commit is contained in:
Duncan
2022-07-27 16:06:33 +01:00
committed by GitHub
parent 710e0e30db
commit 7433119749

View File

@@ -200,6 +200,7 @@ public:
}
widgets = window_ride_construction_widgets;
number = _currentRideIndex.ToUnderlying();
InitScrollWidgets();