From 848016ab150f08c8acc930975f6249bf72545785 Mon Sep 17 00:00:00 2001 From: YPOQ <30683121+YPOQ@users.noreply.github.com> Date: Thu, 12 Oct 2017 14:47:13 -0600 Subject: [PATCH 1/2] Fixes canisters breaking multiple times (#31586) --- code/modules/atmospherics/machinery/portable/canister.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/atmospherics/machinery/portable/canister.dm b/code/modules/atmospherics/machinery/portable/canister.dm index fa2a6fbcbf..38c96a8ec9 100644 --- a/code/modules/atmospherics/machinery/portable/canister.dm +++ b/code/modules/atmospherics/machinery/portable/canister.dm @@ -273,7 +273,7 @@ return ..() /obj/machinery/portable_atmospherics/canister/obj_break(damage_flag) - if((flags_1 & BROKEN) || (flags_1 & NODECONSTRUCT_1)) + if((stat & BROKEN) || (flags_1 & NODECONSTRUCT_1)) return canister_break()