mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
Weakref cleanup (#19382)
* oh god help * fixes * oops * container runtime --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
@@ -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