Merge pull request #579 from CIB/master

Mecha replicator bugfix
This commit is contained in:
SkyMarshal
2012-03-01 11:38:20 -08:00
+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))