mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 04:28:12 +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:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user