Merge pull request #13947 from Chiirno/ChemmasterOutputFix

Chemmaster output buff
This commit is contained in:
silicons
2021-01-03 18:12:57 -07:00
committed by GitHub
3 changed files with 4 additions and 4 deletions
@@ -257,9 +257,9 @@
var/amount = text2num(params["amount"])
if(amount == null)
amount = text2num(input(usr,
"Max 10. Buffer content will be split evenly.",
"Max 20. Buffer content will be split evenly.",
"How many to make?", 1))
amount = clamp(round(amount), 0, 10)
amount = clamp(round(amount), 0, 20)
if (amount <= 0)
return FALSE
// Get units per item
+1 -1
View File
@@ -205,7 +205,7 @@ const PackagingControlsItem = props => {
stepPixelSize={15}
value={amount}
minValue={1}
maxValue={10}
maxValue={20}
onChange={onChangeAmount} />
<Button
ml={1}
File diff suppressed because one or more lines are too long