From 193ef1c91f25ea7bfe6d43dd25f93ea32dc005bb Mon Sep 17 00:00:00 2001 From: Ashe Higgs Date: Thu, 7 Dec 2017 17:13:01 -0500 Subject: [PATCH] Update lighting.dm --- code/modules/power/lighting.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/power/lighting.dm b/code/modules/power/lighting.dm index a588eeb0e0d..9091b2c0713 100644 --- a/code/modules/power/lighting.dm +++ b/code/modules/power/lighting.dm @@ -492,7 +492,7 @@ // if a light is turned off, it won't activate emergency power /obj/machinery/light/proc/turned_off() var/area/A = get_area(src) - return !A.lightswitch && A.power_light && !flickering + return !A.lightswitch && A.power_light || !flickering // returns whether this light has power // true if area has power and lightswitch is on