Catch attempts to qdel lists (#21948)

Ports tgstation/tgstation#90227
This commit is contained in:
Wildkins
2026-03-01 06:40:23 +00:00
committed by GitHub
parent 8314b670eb
commit 2433027a5a
5 changed files with 26 additions and 5 deletions
@@ -75,9 +75,9 @@
update_icon()
/obj/structure/cart/storage/engineeringcart/Destroy()
QDEL_NULL(my_glass)
QDEL_NULL(my_metal)
QDEL_NULL(my_plasteel)
QDEL_LIST(my_glass)
QDEL_LIST(my_metal)
QDEL_LIST(my_plasteel)
QDEL_NULL(my_lightreplacer)
QDEL_NULL(my_blue_toolbox)
QDEL_NULL(my_yellow_toolbox)
@@ -36,7 +36,7 @@
update_icon()
/obj/structure/cart/storage/parcelcart/Destroy()
QDEL_NULL(my_parcels)
QDEL_LIST(my_parcels)
return ..()
/obj/structure/cart/storage/parcelcart/attackby(obj/item/attacking_item, mob/user)