From 0db08088c4cb23d997f4c921ac3e948ff3cc9c91 Mon Sep 17 00:00:00 2001 From: Sneakyrat6 Date: Sun, 7 Mar 2021 22:43:55 -0500 Subject: [PATCH] Fixes material insertion animations not working when there is no silo --- code/datums/components/remote_materials.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/remote_materials.dm b/code/datums/components/remote_materials.dm index 896f09034b..b1d23ea3a8 100644 --- a/code/datums/components/remote_materials.dm +++ b/code/datums/components/remote_materials.dm @@ -69,7 +69,7 @@ handles linking back and forth. /datum/material/plastic, ) - mat_container = parent.AddComponent(/datum/component/material_container, allowed_mats, local_size, allowed_types=/obj/item/stack) + mat_container = parent.AddComponent(/datum/component/material_container, allowed_mats, local_size, allowed_types=/obj/item/stack, _after_insert = after_insert) /datum/component/remote_materials/proc/set_local_size(size) local_size = size