Fixes canisters breaking multiple times (#31586)

This commit is contained in:
YPOQ
2017-10-12 14:47:13 -06:00
committed by CitadelStationBot
parent 06061f0870
commit 848016ab15
@@ -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()