fixes drone GC issues (#20216)

fucking drones
This commit is contained in:
GDN
2023-01-17 15:48:36 -05:00
committed by GitHub
parent fefba432ed
commit dd032c451d
@@ -188,6 +188,14 @@
..()
/mob/living/silicon/robot/drone/Destroy()
. = ..()
QDEL_NULL(stack_glass)
QDEL_NULL(stack_metal)
QDEL_NULL(stack_wood)
QDEL_NULL(stack_plastic)
QDEL_NULL(decompiler)
/mob/living/silicon/robot/drone/emag_act(mob/user)
if(!client || stat == DEAD)
to_chat(user, "<span class='warning'>There's not much point subverting this heap of junk.</span>")