Fixes material insertion animations not working when there is no silo

This commit is contained in:
Sneakyrat6
2021-03-07 22:43:55 -05:00
parent 395bdaf5f9
commit 0db08088c4
+1 -1
View File
@@ -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