missing icon fix & stop throwing out parts

This commit is contained in:
Letter N
2021-03-05 19:29:52 +08:00
parent 4f8d6c7c11
commit 34697acf74
7 changed files with 28 additions and 30 deletions

View File

@@ -80,10 +80,10 @@ micro-manipulator, console screen, beaker, Microlaser, matter bin, power cells.
comp_path = def_components[comp_path]
if(ispath(comp_path, /obj/item/stack))
M.component_parts += new comp_path(M, comp_amt)
M.component_parts += new comp_path(null, comp_amt)
else
for(var/i in 1 to comp_amt)
M.component_parts += new comp_path(M)
M.component_parts += new comp_path(null)
M.RefreshParts()