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