This commit is contained in:
unusualcrow
2016-12-27 19:46:02 -05:00
parent a1527179aa
commit f737f39447
+4 -2
View File
@@ -177,7 +177,7 @@
end_sound = 'sound/effects/powerup.ogg'
area_type = /area
protected_areas = list(/area/maintenance, /area/turret_protected/ai_upload, /area/turret_protected/ai_upload_foyer, /area/turret_protected/ai)
protected_areas = list(/area/maintenance, /area/turret_protected/ai_upload, /area/turret_protected/ai_upload_foyer, /area/turret_protected/ai, /area/engine/engineering)
target_z = ZLEVEL_STATION
immunity_type = null
@@ -192,7 +192,9 @@
A.power_change()
for(var/obj/machinery/power/apc/apc in machines)
apc.shorted_old = apc.shorted
apc.shorted = TRUE
var/area/C = get_area(apc)
if(C in impacted_areas)
apc.shorted = TRUE
else
A.power_light = 1
A.power_equip = 1