diff --git a/code/game/machinery/machinery.dm b/code/game/machinery/machinery.dm index 43fc2d61f58..dc96b53a171 100644 --- a/code/game/machinery/machinery.dm +++ b/code/game/machinery/machinery.dm @@ -151,6 +151,9 @@ Class Procs: if(use_power) myArea = get_area(src) + if(myArea) + RegisterSignal(myArea, COMSIG_AREA_EXITED, PROC_REF(onAreaExited)) + LAZYADD(myArea.machinery_cache, src) if(!speed_process) START_PROCESSING(SSmachines, src) @@ -161,13 +164,6 @@ Class Procs: init_multitool_menu() - return INITIALIZE_HINT_LATELOAD - -/obj/machinery/LateInitialize() - if(myArea) - RegisterSignal(myArea, COMSIG_AREA_EXITED, PROC_REF(onAreaExited)) - LAZYADD(myArea.machinery_cache, src) - /obj/machinery/proc/onAreaExited() if(myArea == get_area(src)) return