[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

View File

@@ -281,18 +281,18 @@
QDEL_NULL(boots)
return ..()
/obj/item/mod/construction/shell/handle_atom_del(atom/deleted_atom)
if(deleted_atom == core)
/obj/item/mod/construction/shell/Exited(atom/movable/gone, direction)
. = ..()
if(gone == core)
core = null
if(deleted_atom == helmet)
if(gone == helmet)
helmet = null
if(deleted_atom == chestplate)
if(gone == chestplate)
chestplate = null
if(deleted_atom == gauntlets)
if(gone == gauntlets)
gauntlets = null
if(deleted_atom == boots)
if(gone == boots)
boots = null
return ..()
#undef START_STEP
#undef CORE_STEP