From bce05a6bd5638b08d2f354f7df38d1ebcc57a5cc Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Sat, 10 Apr 2021 18:07:26 -0700 Subject: [PATCH] Update stack.dm --- code/game/objects/items/stacks/stack.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/stacks/stack.dm b/code/game/objects/items/stacks/stack.dm index 966ac7c645b..c990e2cf57c 100644 --- a/code/game/objects/items/stacks/stack.dm +++ b/code/game/objects/items/stacks/stack.dm @@ -229,7 +229,7 @@ amount -= used if (amount <= 0) if(usr) - usr.remove_from_mob(src) + usr.remove_from_mob(src, null) qdel(src) //should be safe to qdel immediately since if someone is still using this stack it will persist for a little while longer update_icon() return 1