Fix opening an air alarm panel turning off overlay (#65135)

This commit is contained in:
Tastyfish
2022-02-25 00:35:28 -08:00
committed by GitHub
parent 0464e15735
commit 766fab261c
@@ -583,7 +583,7 @@
/obj/machinery/airalarm/update_overlays()
. = ..()
if((machine_stat & (NOPOWER|BROKEN)) || shorted)
if(panel_open || (machine_stat & (NOPOWER|BROKEN)) || shorted)
return
var/area/our_area = get_area(src)