From 25ba25d997d5d988b41860c9e00a21e10b119312 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Wed, 20 Jun 2018 19:23:02 -0500 Subject: [PATCH] [MIRROR] [s]Fixed being able to create nearly infinite amount of materials from autolathes (#7199) * [s]Fixed being able to create nearly infinite amount of materials from autolathes (#38624) * clamper-oni * Update autolathe.dm * Update autolathe.dm * [s]Fixed being able to create nearly infinite amount of materials from autolathes --- 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 2a753fc333..9a13bde3ff 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) /////////////////