diff --git a/code/datums/components/material_container.dm b/code/datums/components/material_container.dm index 19d3ee6ab54..c8f54a1f0c3 100644 --- a/code/datums/components/material_container.dm +++ b/code/datums/components/material_container.dm @@ -267,6 +267,7 @@ if(!istype(mat)) mat = GET_MATERIAL_REF(mat) materials[mat] += amt + total_amount += amt else var/num_materials = length(materials) if(!num_materials)