Merge pull request #16359 from Edan52/gc-tweaks

Simple mob GC Optimisations
This commit is contained in:
Fox McCloud
2021-07-26 15:48:56 -04:00
committed by GitHub
3 changed files with 8 additions and 0 deletions
@@ -312,6 +312,8 @@ GLOBAL_LIST_EMPTY(ts_spiderling_list)
/mob/living/simple_animal/hostile/poison/terror_spider/Destroy()
GLOB.ts_spiderlist -= src
var/datum/atom_hud/U = GLOB.huds[DATA_HUD_MEDICAL_ADVANCED]
U.remove_hud_from(src)
handle_dying()
return ..()
+2
View File
@@ -8,6 +8,7 @@
spellremove(src)
mobspellremove(src)
QDEL_LIST(viruses)
QDEL_LIST(actions)
ghostize()
QDEL_LIST_ASSOC_VAL(tkgrabbed_objects)
for(var/I in tkgrabbed_objects)
@@ -20,6 +21,7 @@
AA.viewers -= src
viewing_alternate_appearances = null
LAssailant = null
runechat_msg_location = null
return ..()
/mob/Initialize(mapload)