From 6a931ef86895ceceb5a88cd82faf425440fa725d Mon Sep 17 00:00:00 2001 From: Crazylemon Date: Thu, 31 Dec 2015 22:34:03 -0800 Subject: [PATCH] Removes the apc from the area's APC list when destroyed --- code/modules/power/apc.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/power/apc.dm b/code/modules/power/apc.dm index 897cfa1f9f1..f0617cb20f0 100644 --- a/code/modules/power/apc.dm +++ b/code/modules/power/apc.dm @@ -172,6 +172,7 @@ cell = null if(terminal) disconnect_terminal() + area.apc -= src return ..() /obj/machinery/power/apc/proc/make_terminal()