Weakref cleanup (#19382)

* oh god help

* fixes

* oops

* container runtime

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Will
2026-04-21 04:57:02 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent 47a0e04bae
commit fb4cf2e80a
34 changed files with 107 additions and 9 deletions
+2
View File
@@ -45,6 +45,8 @@
/obj/machinery/computer/transhuman/resleeving/Destroy()
releasepods()
current_br = null
current_mr = null
return ..()
/obj/machinery/computer/transhuman/resleeving/proc/updatemodules()
+10 -2
View File
@@ -154,6 +154,10 @@
RefreshParts()
update_icon()
/obj/machinery/transhuman/synthprinter/Destroy()
current_br = null
. = ..()
/obj/machinery/transhuman/synthprinter/RefreshParts()
//Scanning modules reduce burn rating by 15 each
@@ -315,6 +319,10 @@
RefreshParts()
update_icon()
/obj/machinery/transhuman/resleever/Destroy()
. = ..()
/obj/machinery/transhuman/resleever/proc/set_occupant(var/mob/living/carbon/human/H)
SHOULD_NOT_OVERRIDE(TRUE)
if(!H)
@@ -512,7 +520,7 @@
playsound(src, 'sound/machines/medbayscanner1.ogg', 100, 1) // Play our sound at the end of the mind injection!
return 1
/obj/machinery/transhuman/resleever/proc/go_out(var/mob/M)
/obj/machinery/transhuman/resleever/proc/go_out()
var/mob/living/carbon/human/occupant = get_occupant()
if(!occupant)
return
@@ -541,7 +549,7 @@
set src in oview(1)
if(usr.stat != 0)
return
src.go_out(usr)
go_out()
add_fingerprint(usr)
return