From 555477a075bb997158db41097a1429e7c9b6093b Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Sat, 18 Dec 2021 09:18:23 -0700 Subject: [PATCH] Update chem_synthesizer.dm --- code/modules/reagents/chemistry/machinery/chem_synthesizer.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/reagents/chemistry/machinery/chem_synthesizer.dm b/code/modules/reagents/chemistry/machinery/chem_synthesizer.dm index 3c544f290f..ae87d7714c 100644 --- a/code/modules/reagents/chemistry/machinery/chem_synthesizer.dm +++ b/code/modules/reagents/chemistry/machinery/chem_synthesizer.dm @@ -56,7 +56,7 @@ if("synth_amount") var/input = text2num(params["synth_amount"]) if(input) - amount = input + amount = max(input, 0) update_icon() /obj/machinery/chem_dispenser/chem_synthesizer/proc/find_reagent(input)