mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01: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:
@@ -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 ..()
|
||||
|
||||
Reference in New Issue
Block a user