mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user