mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-21 07:03:05 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user