mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 03:56:47 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user