Merge pull request #1207 from Datraen/GTStationWide

Adds a check to the greytide virus to see if the APCs are operating.
This commit is contained in:
Neerti
2016-03-22 21:36:35 -04:00
3 changed files with 19 additions and 8 deletions
+5 -2
View File
@@ -61,9 +61,12 @@
/datum/event/prison_break/tick()
if(activeFor == releaseWhen)
if(areas && areas.len > 0)
var/obj/machinery/power/apc/theAPC = null
for(var/area/A in areas)
for(var/obj/machinery/light/L in A)
L.flicker(10)
theAPC = A.get_apc()
if(theAPC.operating) //If the apc's off, it's a little hard to overload the lights.
for(var/obj/machinery/light/L in A)
L.flicker(10)
/datum/event/prison_break/end()