telecomm equipment GC

This commit is contained in:
Fox-McCloud
2015-10-16 01:16:09 -04:00
parent 905a3e190d
commit 984bbbd97f
@@ -157,6 +157,9 @@ var/global/list/obj/machinery/telecomms/telecomms_list = list()
/obj/machinery/telecomms/Destroy()
telecomms_list -= src
for(var/obj/machinery/telecomms/comm in telecomms_list)
comm.links -= src
links.Cut()
return ..()
// Used in auto linking