Backward 512 compatibility removal.
This commit is contained in:
@@ -62,7 +62,7 @@ GLOBAL_LIST_INIT(name2reagent, build_name2reagent())
|
||||
return 0
|
||||
if(method == VAPOR) //smoke, foam, spray
|
||||
if(M.reagents)
|
||||
var/modifier = CLAMP((1 - touch_protection), 0, 1)
|
||||
var/modifier = clamp((1 - touch_protection), 0, 1)
|
||||
var/amount = round(reac_volume*modifier, 0.1)
|
||||
if(amount >= 0.5)
|
||||
M.reagents.add_reagent(type, amount)
|
||||
|
||||
Reference in New Issue
Block a user