From 89763e69dd60a6a4e2f40dac48b4d25a1bfc9be7 Mon Sep 17 00:00:00 2001 From: Verkister Date: Tue, 18 Apr 2023 14:43:34 +0300 Subject: [PATCH] Reagent touch now accounts for given multiplier Fixes reagent transfer proc not applying its given multiplier var to its touch effect. --- code/modules/reagents/holder/holder.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/reagents/holder/holder.dm b/code/modules/reagents/holder/holder.dm index 75ad9defcb..9edd73685a 100644 --- a/code/modules/reagents/holder/holder.dm +++ b/code/modules/reagents/holder/holder.dm @@ -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)