Merge pull request #33376 from Xhuis/patch-3
Flickering no longer enables emergency lights
This commit is contained in:
committed by
CitadelStationBot
parent
edce62494d
commit
7b9bcb37aa
@@ -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