mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-31 01:00:59 +01:00
[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:
co-authored by
Will
Cameron Lennox
parent
d8b11e32ae
commit
ed7d46efb1
@@ -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!"))
|
||||
|
||||
Reference in New Issue
Block a user