Bugfix: Mecha replicators were bugged.

This commit is contained in:
cib
2012-03-01 11:37:03 -08:00
parent 899331a58d
commit a3d8d0ac7f
+1 -1
View File
@@ -220,7 +220,7 @@
return
proc/check_resources(var/obj/item/mecha_parts/part)
if(istype(part, /obj/item/mecha_parts/part))
if(istype(part, /obj/item/robot_parts) || istype(part, /obj/item/mecha_parts))
for(var/resource in part.construction_cost)
if(resource in src.resources)
if(src.resources[resource] < get_resource_cost_w_coeff(part,resource))