Stack: Fix stack/use having a potential to sleep

This commit is contained in:
ShadowLarkens
2021-06-12 16:54:52 -07:00
parent decee62598
commit f1f0c3c7b2
-2
View File
@@ -236,8 +236,6 @@
if(!uses_charge)
amount -= used
if (amount <= 0)
if(usr)
usr.remove_from_mob(src)
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