diff --git a/code/game/machinery/machinery.dm b/code/game/machinery/machinery.dm index d7327f87ec7..507b656ed1a 100644 --- a/code/game/machinery/machinery.dm +++ b/code/game/machinery/machinery.dm @@ -119,11 +119,15 @@ Class Procs: return ..() /obj/machinery/proc/addAtProcessing() - myArea = loc.loc + if (use_power) + myArea = loc.loc + machines += src /obj/machinery/proc/removeAtProcessing() - myArea = null + if (myArea) + myArea = null + machines -= src /obj/machinery/Destroy()