More Overload Lighting Performance

This commit is contained in:
Fox-McCloud
2016-08-01 15:29:47 -04:00
parent e93a7868e9
commit 62a780220d
6 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -34,7 +34,7 @@
S.update_icon()
S.power_change()
for(var/obj/machinery/power/apc/C in world)
for(var/obj/machinery/power/apc/C in apcs)
var/area/current_area = get_area(C)
// TODO: Tie into space manager
if(current_area.type in skipped_areas_apc || !(C.z in config.station_levels))
@@ -48,7 +48,7 @@
if(announce)
command_announcement.Announce("Power has been restored to [station_name()]. We apologize for the inconvenience.", "Power Systems Nominal", new_sound = 'sound/AI/poweron.ogg')
for(var/obj/machinery/power/apc/C in machines)
for(var/obj/machinery/power/apc/C in apcs)
var/area/current_area = get_area(C)
// TODO: Tie into space manager
if(current_area.type in skipped_areas_apc || !(C.z in config.station_levels))