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
parent 47a0e04bae
commit fb4cf2e80a
34 changed files with 107 additions and 9 deletions
@@ -20,6 +20,10 @@
. = ..()
pursuit_target = WEAKREF(find_nearest_target())
/obj/effect/anomaly/bioscrambler/Destroy()
. = ..()
pursuit_target = null
/obj/effect/anomaly/bioscrambler/anomalyEffect(seconds_per_tick)
. = ..()
if(stats)
@@ -31,6 +31,8 @@
/datum/anomaly_stats/Destroy(force)
QDEL_NULL(modifier)
attached_anomaly = null
attached_harvester = null
return ..()
/datum/anomaly_stats/proc/randomize_particle_types()
@@ -15,6 +15,7 @@
var/client/C = CW?.resolve()
if(C)
C.images -= src
clients.Cut()
// Mostly for motion echos, but someone will probably find another use for it... So parent type gets it instead!
/image/client_only/proc/place_from_root(var/turf/At)