diff --git a/code/datums/components/remote_materials.dm b/code/datums/components/remote_materials.dm index 3ac94f88257..5d8ff9378e9 100644 --- a/code/datums/components/remote_materials.dm +++ b/code/datums/components/remote_materials.dm @@ -54,6 +54,7 @@ handles linking back and forth. // specify explicitly in case the other component is deleted first var/atom/P = parent mat_container.retrieve_all(P.drop_location()) + QDEL_NULL(mat_container) return ..() /datum/component/remote_materials/proc/_MakeLocal()