another layer

This commit is contained in:
DeltaFire
2023-11-13 11:46:21 +01:00
parent 6da3776558
commit 7bb6d4ca08
+1
View File
@@ -579,6 +579,7 @@ GLOBAL_LIST_EMPTY(teleportlocs)
// called when power status changes
/area/proc/power_change()
SHOULD_NOT_SLEEP(TRUE)
if(contents.len < GLOB.machines.len) // it would be faster to loop over contents
for(var/obj/machinery/M in src) // for each machine in the area
M.power_change() // reverify power status (to update icons etc.)