[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 12:17:04 -04:00
committed by GitHub
co-authored by Ghom Giz
parent da34f6839a
commit d21e06104f
70 changed files with 356 additions and 468 deletions
+3 -3
View File
@@ -260,14 +260,14 @@
area.apc = null
area = null
/obj/machinery/power/apc/handle_atom_del(atom/deleting_atom)
if(deleting_atom == cell)
/obj/machinery/power/apc/Exited(atom/movable/gone, direction)
. = ..()
if(gone == cell)
cell = null
charging = APC_NOT_CHARGING
update_appearance()
if(!QDELING(src))
SStgui.update_uis(src)
return ..()
/obj/machinery/power/apc/examine(mob/user)
. = ..()