mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-19 18:17:52 +01:00
telecomm equipment GC
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user