mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #4958: Assertion when opening ride window to R&D
This commit is contained in:
parent
30c738e91c
commit
e0babbf7c2
|
@ -454,7 +454,10 @@ rct_window *window_new_ride_open()
|
|||
|
||||
w->width = 1;
|
||||
window_new_ride_refresh_widget_sizing(w);
|
||||
window_new_ride_scroll_to_focused_ride(w);
|
||||
|
||||
if (_windowNewRideCurrentTab != WINDOW_NEW_RIDE_PAGE_RESEARCH) {
|
||||
window_new_ride_scroll_to_focused_ride(w);
|
||||
}
|
||||
|
||||
return w;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue