Fixes canisters breaking multiple times (#31586)

This commit is contained in:
YPOQ
2017-10-12 16:47:13 -04:00
committed by ShizCalev
parent 7846d07561
commit eaeabcca6f
@@ -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()