Signals update to power_change() (#21421)

As title. Makes area/power_change() and area on_enter/on_exit procs both
rely on signals for machinery handling where they draw power from.
This commit is contained in:
Batrachophreno
2025-10-03 15:50:29 +00:00
committed by GitHub
parent 51f688c257
commit b743c82739
38 changed files with 150 additions and 50 deletions
@@ -27,6 +27,7 @@
return INITIALIZE_HINT_LATELOAD
/obj/machinery/keycard_auth/LateInitialize()
. = ..()
if(SSatlas.current_map.use_overmap && !linked)
var/my_sector = GLOB.map_sectors["[z]"]
if (istype(my_sector, /obj/effect/overmap/visitable))