mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Bugfix: Mecha replicators were bugged.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user