mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 20:57:23 +01:00
Reagent touch now accounts for given multiplier
Fixes reagent transfer proc not applying its given multiplier var to its touch effect.
This commit is contained in:
@@ -268,7 +268,7 @@
|
||||
//If for some reason touch effects are bypassed (e.g. injecting stuff directly into a reagent container or person),
|
||||
//call the appropriate trans_to_*() proc.
|
||||
/datum/reagents/proc/trans_to(var/atom/target, var/amount = 1, var/multiplier = 1, var/copy = 0)
|
||||
touch(target) //First, handle mere touch effects
|
||||
touch(target, amount*multiplier) //First, handle mere touch effects //CHOMPEdit
|
||||
|
||||
if(ismob(target))
|
||||
return splash_mob(target, amount, copy)
|
||||
|
||||
Reference in New Issue
Block a user