Merge pull request #34679 from Xhuis/patch-3

Fixes emergency lights literally never working
This commit is contained in:
Jordan Brown
2018-01-21 10:09:55 -05:00
committed by CitadelStationBot
parent 7ec2a4230d
commit 805a07de7e
+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