mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Check for page correctly
This commit is contained in:
@@ -991,7 +991,7 @@ static void window_tile_inspector_mouseup(rct_window *w, rct_widgetindex widgetI
|
||||
}
|
||||
|
||||
// Only element-specific widgets from now on
|
||||
if (w->selected_list_item == TILE_INSPECTOR_PAGE_DEFAULT || w->selected_list_item == -1) {
|
||||
if (w->page == TILE_INSPECTOR_PAGE_DEFAULT || w->selected_list_item == -1) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user