Fixes emergency lights literally never working

This commit is contained in:
Ashe Higgs
2018-01-19 23:09:24 -05:00
committed by GitHub
parent 76decf7eab
commit 7988048a1c
+1 -1
View File
@@ -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