From eaeabcca6f9dc7139f2be59ec3b4cdde6ae58265 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] 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 fa2a6fbcbf5..38c96a8ec90 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()