Merge pull request #4292 from Citadel-Station-13/upstream-merge-33376
[MIRROR] Flickering no longer enables emergency lights
This commit is contained in:
@@ -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
|
||||
return !A.lightswitch && A.power_light || !flickering
|
||||
|
||||
// returns whether this light has power
|
||||
// true if area has power and lightswitch is on
|
||||
|
||||
Reference in New Issue
Block a user