Fixed storage not updating when joining cable coils.

Fixed stack objects not updating storage when deleted.

Added handle_atom_del proc to be called on destroy.

Label comment for handle_atom_del()
This commit is contained in:
xxalpha
2015-07-22 17:58:05 +01:00
parent 4aede30c5e
commit 8e00cdfe9a
4 changed files with 9 additions and 4 deletions
-3
View File
@@ -27,7 +27,6 @@
/obj/item/stack/Destroy()
if (usr && usr.machine==src)
usr << browse(null, "window=stack")
src.loc = null
..()
/obj/item/stack/examine(mob/user)
@@ -186,8 +185,6 @@
if(is_cyborg)
return source.energy < cost
if (amount < 1)
if(usr)
usr.unEquip(src, 1)
qdel(src)
return 1
return 0