From caa6edfdb3da81caf7a19cfe08cdfaeec13e5a41 Mon Sep 17 00:00:00 2001 From: CitrusGender <31262308+CitrusGender@users.noreply.github.com> Date: Wed, 20 Jun 2018 01:05:05 -0400 Subject: [PATCH] [s]Fixed being able to create nearly infinite amount of materials from autolathes (#38624) * clamper-oni * Update autolathe.dm * Update autolathe.dm --- code/game/machinery/autolathe.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/game/machinery/autolathe.dm b/code/game/machinery/autolathe.dm index 22db77090b4..84059e8029b 100644 --- a/code/game/machinery/autolathe.dm +++ b/code/game/machinery/autolathe.dm @@ -154,6 +154,7 @@ var/multiplier = text2num(href_list["multiplier"]) var/is_stack = ispath(being_built.build_path, /obj/item/stack) + multiplier = CLAMP(multiplier,1,50) /////////////////