Apply suggestions from code review

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
This commit is contained in:
nicetoolbox
2020-10-11 11:57:47 -07:00
committed by GitHub
parent 7d556eba42
commit 8abde233c2
+1 -1
View File
@@ -60,7 +60,7 @@ using metal and glass, it uses glass and reagents (usually sulfuric acis).
var/T = 0
for(var/obj/item/stock_parts/manipulator/M in component_parts)
T += M.rating
T = min(4, max(1, T))
T = clamp(T, 1, 4)
efficiency_coeff = 1 / (2 ** (T - 1))
/obj/machinery/r_n_d/circuit_imprinter/check_mat(datum/design/being_built, var/M)