This commit is contained in:
Ty-Omaha
2019-07-15 09:10:00 -04:00
parent e042d114dd
commit b9d9b3c88d
+2 -2
View File
@@ -47,7 +47,7 @@
C.cell.charge = 0
for(var/obj/machinery/power/P in GLOB.machines)
var/area/current_area = get_area(P)
if((current_area.type in skipped_areas_apc) || !is_station_level(P.z))
if((current_area.type in skipped_areas_apc) || (current_area.type in skipped_areas) || !is_station_level(P.z))
continue
P.malfunction = TRUE
@@ -74,7 +74,7 @@
S.power_change()
for(var/obj/machinery/power/P in GLOB.machines)
var/area/current_area = get_area(P)
if((current_area.type in skipped_areas_apc) || !is_station_level(P.z))
if((current_area.type in skipped_areas_apc) || (current_area.type in skipped_areas) || !is_station_level(P.z))
continue
P.malfunction = FALSE