From 7dddd0d122fcd1364796b724cf5e3fc2acd69239 Mon Sep 17 00:00:00 2001 From: Joan Lung Date: Mon, 4 Jul 2016 08:23:27 -0400 Subject: [PATCH] Adds logging to that one fucking toxin --- code/modules/reagents/chemistry/reagents/toxin_reagents.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/reagents/chemistry/reagents/toxin_reagents.dm b/code/modules/reagents/chemistry/reagents/toxin_reagents.dm index 8da685439b5..7f86666915c 100644 --- a/code/modules/reagents/chemistry/reagents/toxin_reagents.dm +++ b/code/modules/reagents/chemistry/reagents/toxin_reagents.dm @@ -589,7 +589,10 @@ metabolization_rate = 0.5 * REAGENTS_METABOLISM /datum/reagent/toxin/amanitin/on_mob_delete(mob/living/M) - M.adjustToxLoss(current_cycle*3*REM) + var/toxdamage = current_cycle*3*REM + M.adjustToxLoss(toxdamage) + if(M) + add_logs(M, null, "has taken [toxdamage] toxin damage from amanitin toxin") ..() /datum/reagent/toxin/lipolicide