[MIRROR] Weakref cleanup (#12704)

Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-04-21 05:14:08 -04:00
committed by GitHub
co-authored by Will Cameron Lennox
parent d8b11e32ae
commit ed7d46efb1
34 changed files with 107 additions and 9 deletions
@@ -1140,6 +1140,7 @@
if(DC)
DC.selected_record = FALSE
DC.designer_gui = null // no hardrefs
linked_body_design_console = null
. = ..()
/datum/tgui_module/appearance_changer/body_designer/proc/make_fake_owner()
@@ -44,6 +44,10 @@
crew_announcement = new()
crew_announcement.newscast = TRUE
/datum/tgui_module/communications/Destroy(force)
. = ..()
ATC = null
/datum/tgui_module/communications/tgui_interact(mob/user, datum/tgui/ui)
if(using_map && !(get_z(user) in using_map.contact_levels))
to_chat(user, span_danger("Unable to establish a connection: You're too far away from the station!"))