Skip to content

Commit

Permalink
PAIN
Browse files Browse the repository at this point in the history
  • Loading branch information
fira committed Oct 14, 2023
1 parent 2835395 commit a6d4e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/items/stacks/stack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ Also change the icon to reflect the amount of sheets, if possible.*/
var/diff = found_item.max_amount - found_item.amount
if (stack_item.amount < diff)
found_item.amount += stack_item.amount
qdel(S)
qdel(stack_item)
else
stack_item.amount -= diff
found_item.amount += diff
Expand Down

0 comments on commit a6d4e23

Please sign in to comment.