forked from rosebudai/OpenRCT2-Web
Check for page correctly
This commit is contained in:
1 parent
15ae358946
commit
617372fd38
1 file changed
+1
-1
@@ -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