[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
@@ -74,11 +74,6 @@
if(!QDELING(src))
qdel(src) //we're now a poster, huzzah!
/obj/item/poster/handle_atom_del(atom/deleting_atom)
if(deleting_atom == poster_structure)
poster_structure.moveToNullspace() //get it the fuck out of us since atom/destroy qdels contents and it'll cause a qdel loop
return ..()
/obj/item/poster/Destroy(force)
QDEL_NULL(poster_structure)
return ..()