fixes bug with biogenerator

This commit is contained in:
Kyep
2019-07-04 12:41:39 -07:00
parent e697b48b97
commit ac5ab6b3db
+2
View File
@@ -319,6 +319,8 @@
else if(href_list["create"])
var/amount = (text2num(href_list["amount"]))
//Can't be outside these (if you change this keep a sane limit)
amount = Clamp(amount, 1, 10)
var/datum/design/D = locate(href_list["create"])
create_product(D, amount)
updateUsrDialog()