Skip to content

Commit

Permalink
fixes trash
Browse files Browse the repository at this point in the history
I am the trash man
  • Loading branch information
Sun-Soaked committed Sep 27, 2023
1 parent 4ebd2ad commit 71763ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/components/storage/ui.dm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
numbered_contents = _process_numerical_display()
adjusted_contents = numbered_contents.len

var/columns = limited_random_access_stack_position == 0 ? clamp(max_items, 1, maxcolumns ? maxcolumns : screen_max_columns) : limited_random_access_stack_position
var/columns = limited_random_access_stack_position == 0 ? clamp(max_items, 1, maxcolumns ? maxcolumns : screen_max_columns) : clamp(limited_random_access_stack_position, 1, maxcolumns ? maxcolumns : screen_max_columns)
var/rows = clamp(CEILING(adjusted_contents / columns, 1), 1, screen_max_rows)

// First, boxes.
Expand Down

0 comments on commit 71763ff

Please sign in to comment.