From 7d0d4d374034abdadfbcd0daa08cea14c31816a4 Mon Sep 17 00:00:00 2001 From: Leo Date: Thu, 16 Jun 2016 17:08:19 -0300 Subject: [PATCH] Admin message for BZ gas --- code/modules/atmospherics/machinery/portable/canister.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/atmospherics/machinery/portable/canister.dm b/code/modules/atmospherics/machinery/portable/canister.dm index 6c664f7280b..0a6efae2095 100644 --- a/code/modules/atmospherics/machinery/portable/canister.dm +++ b/code/modules/atmospherics/machinery/portable/canister.dm @@ -307,9 +307,10 @@ if(!holding) var/plasma = air_contents.gases["plasma"] var/n2o = air_contents.gases["n2o"] - if(n2o || plasma) - message_admins("[key_name_admin(usr)] (?) (FLW) opened a canister that contains [n2o ? "N2O" : ""][n2o && plasma ? " & " : ""][plasma ? "Plasma" : ""]! (JMP)") - log_admin("[key_name(usr)] opened a canister that contains [n2o ? "N2O" : ""][n2o && plasma ? " & " : ""][plasma ? "Plasma" : ""] at [x], [y], [z]") + var/bz = air_contents.gases["bz"] + if(n2o || plasma || bz) + message_admins("[key_name_admin(usr)] (?) (FLW) opened a canister that contains [n2o ? "N2O" : ""][n2o && plasma && bz ? " & " : ""][plasma ? "Plasma" : ""][bz ? "BZ" : ""]! (JMP)") + log_admin("[key_name(usr)] opened a canister that contains [n2o ? "N2O" : ""][n2o && plasma ? " & " : ""][plasma ? "Plasma" : ""][bz ? "BZ" : ""] at [x], [y], [z]") else logmsg = "Valve was closed by [key_name(usr)], stopping the transfer into \the [holding || "air"].
" investigate_log(logmsg, "atmos")