From 8ad20f1001fedc1486f969ed1b14d9e7e4e582ce Mon Sep 17 00:00:00 2001 From: 81Denton <32391752+81Denton@users.noreply.github.com> Date: Fri, 25 Oct 2019 11:42:19 +0200 Subject: [PATCH] Stops plumbing smoke from notifying admins (#47312) --- code/game/objects/effects/effect_system/effects_smoke.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/game/objects/effects/effect_system/effects_smoke.dm b/code/game/objects/effects/effect_system/effects_smoke.dm index 1acdd7569f7..00bc2fbc7a9 100644 --- a/code/game/objects/effects/effect_system/effects_smoke.dm +++ b/code/game/objects/effects/effect_system/effects_smoke.dm @@ -294,10 +294,12 @@ var/more = "" if(M) more = "[ADMIN_LOOKUPFLW(M)] " - message_admins("Smoke: ([ADMIN_VERBOSEJMP(location)])[contained]. Key: [more ? more : carry.my_atom.fingerprintslast].") + if(!istype(carry.my_atom, /obj/machinery/plumbing)) + message_admins("Smoke: ([ADMIN_VERBOSEJMP(location)])[contained]. Key: [more ? more : carry.my_atom.fingerprintslast].") log_game("A chemical smoke reaction has taken place in ([where])[contained]. Last touched by [carry.my_atom.fingerprintslast].") else - message_admins("Smoke: ([ADMIN_VERBOSEJMP(location)])[contained]. No associated key.") + if(!istype(carry.my_atom, /obj/machinery/plumbing)) + message_admins("Smoke: ([ADMIN_VERBOSEJMP(location)])[contained]. No associated key.") log_game("A chemical smoke reaction has taken place in ([where])[contained]. No associated key.")