forked from rosebudai/OpenRCT2-Web
Fix crash when moving selected tile with spinners
This commit is contained in:
1 parent
75326ba0c1
commit
2b87dcf71a
1 file changed
+5
@@ -1023,6 +1023,11 @@ static void window_tile_inspector_mouseup(rct_window *w, int widgetIndex) {
|
||||
break;
|
||||
}
|
||||
|
||||
// Only element-specific widgets from now on
|
||||
if (w->page == PAGE_DEFAULT) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Get the selected map element
|
||||
rct_map_element *const mapElement = window_tile_inspector_get_selected_element(w);
|
||||
|
||||
|
||||
Reference in new issue
Block a user