From cc11cae967c7cc1b34c38382f7c67ed9937db299 Mon Sep 17 00:00:00 2001
From: silicons <2003111+silicons@users.noreply.github.com>
Date: Sat, 18 Dec 2021 09:17:18 -0700
Subject: [PATCH 1/3] Update chem_synthesizer.dm
---
code/modules/reagents/chemistry/machinery/chem_synthesizer.dm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/code/modules/reagents/chemistry/machinery/chem_synthesizer.dm b/code/modules/reagents/chemistry/machinery/chem_synthesizer.dm
index 489f9dd179..3c544f290f 100644
--- a/code/modules/reagents/chemistry/machinery/chem_synthesizer.dm
+++ b/code/modules/reagents/chemistry/machinery/chem_synthesizer.dm
@@ -53,8 +53,8 @@
return
beaker = new /obj/item/reagent_containers/glass/beaker/bluespace(src)
visible_message("[src] dispenses a bluespace beaker.")
- if("amount")
- var/input = text2num(params["amount"])
+ if("synth_amount")
+ var/input = text2num(params["synth_amount"])
if(input)
amount = input
update_icon()
From 24cb27f5cbca94f9486223357bbff15a541b3ce5 Mon Sep 17 00:00:00 2001
From: silicons <2003111+silicons@users.noreply.github.com>
Date: Sat, 18 Dec 2021 09:17:47 -0700
Subject: [PATCH 2/3] Update ChemDebugSynthesizer.js
---
tgui/packages/tgui/interfaces/ChemDebugSynthesizer.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tgui/packages/tgui/interfaces/ChemDebugSynthesizer.js b/tgui/packages/tgui/interfaces/ChemDebugSynthesizer.js
index 0e073ba885..b82c793703 100644
--- a/tgui/packages/tgui/interfaces/ChemDebugSynthesizer.js
+++ b/tgui/packages/tgui/interfaces/ChemDebugSynthesizer.js
@@ -33,8 +33,8 @@ export const ChemDebugSynthesizer = (props, context) => {
maxValue={beakerMaxVolume}
step={1}
stepPixelSize={2}
- onChange={(e, value) => act('amount', {
- amount: value,
+ onChange={(e, value) => act('synth_amount', {
+ synth_amount: value,
})} />