[MIRROR] Dunking handle_atom_del() in the trash bin. [MDB IGNORE] (#23183)

* Dunking handle_atom_del() in the trash bin.

* Update _box_magazine.dm

* Modular paths

---------

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-08-18 18:17:04 +02:00
committed by GitHub
parent da34f6839a
commit d21e06104f
70 changed files with 356 additions and 468 deletions
@@ -25,12 +25,12 @@
if(case)
. += span_warning("There seems to be something inside it, but you can't quite tell what from here...")
/obj/item/implantpad/handle_atom_del(atom/A)
if(A == case)
case = null
update_appearance()
updateSelfDialog()
/obj/item/implantpad/Exited(atom/movable/gone, direction)
. = ..()
if(gone == case)
case = null
update_appearance()
updateSelfDialog()
/obj/item/implantpad/AltClick(mob/user)
..()
@@ -44,7 +44,6 @@
add_fingerprint(user)
case.add_fingerprint(user)
case = null
updateSelfDialog()
update_appearance()