From 0bbcfde8924fdcad751accaef1ce018eaf0b53f9 Mon Sep 17 00:00:00 2001 From: TDSSS <32099540+TDSSS@users.noreply.github.com> Date: Mon, 11 May 2020 12:20:13 +0200 Subject: [PATCH] tweak, comment --- code/modules/reagents/reagent_containers/applicator.dm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/code/modules/reagents/reagent_containers/applicator.dm b/code/modules/reagents/reagent_containers/applicator.dm index cb2dc4e2e80..73c3c3759b1 100644 --- a/code/modules/reagents/reagent_containers/applicator.dm +++ b/code/modules/reagents/reagent_containers/applicator.dm @@ -82,12 +82,8 @@ injected += R.name var/contained = english_list(injected) - - var/log_level = ATKLOG_ALMOSTALL - if(emagged && !(reagents.harmless_helper())) - log_level = null - - add_attack_logs(user, M, "Automends with [src] containing ([contained])", log_level) + // allow normal logging only if reagents are not harmless and automender is emagged + add_attack_logs(user, M, "Automends with [src] containing ([contained])", (emagged && !(reagents.harmless_helper())) ? null : ATKLOG_ALMOSTALL) var/fractional_applied_amount = total_applied_amount / reagents.total_volume