Ambiguous expression readded.

This commit is contained in:
Menshin
2014-10-14 22:31:19 +02:00
parent 00e39c1b30
commit 6387c96bb5
+2
View File
@@ -117,6 +117,8 @@
recipes_list = srl.recipes
var/datum/stack_recipe/R = recipes_list[text2num(href_list["make"])]
var/multiplier = text2num(href_list["multiplier"])
if(!multiplier) //if multiplier is null
multiplier = 1
if (multiplier <= 0) //href exploit protection
return
if (src.amount < R.req_amount*multiplier)