From e76ec56d92592e7f0a8106374d4e03bf13a4b4dd Mon Sep 17 00:00:00 2001 From: ShizCalev Date: Tue, 18 Sep 2018 11:20:01 -0400 Subject: [PATCH] [s] Notify admins when gas canister leaks happen Fixes #40211 --- code/modules/atmospherics/machinery/portable/canister.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/atmospherics/machinery/portable/canister.dm b/code/modules/atmospherics/machinery/portable/canister.dm index 87a7d43b37c..d23a5df9586 100644 --- a/code/modules/atmospherics/machinery/portable/canister.dm +++ b/code/modules/atmospherics/machinery/portable/canister.dm @@ -480,6 +480,7 @@ if("eject") if(holding) if(valve_open) + message_admins("[ADMIN_LOOKUPFLW(usr)] removed [holding] from [src] with valve still open at [ADMIN_VERBOSEJMP(src)] releasing contents into the air
.") investigate_log("[key_name(usr)] removed the [holding], leaving the valve open and transferring into the air
", INVESTIGATE_ATMOS) holding.forceMove(get_turf(src)) holding = null