mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
Merge pull request #16359 from Edan52/gc-tweaks
Simple mob GC Optimisations
This commit is contained in:
@@ -59,6 +59,10 @@
|
||||
|
||||
SetCollectBehavior()
|
||||
|
||||
/mob/living/simple_animal/hostile/mining_drone/Destroy()
|
||||
QDEL_NULL(stored_gun)
|
||||
return ..()
|
||||
|
||||
/mob/living/simple_animal/hostile/mining_drone/emp_act(severity)
|
||||
adjustHealth(100 / severity)
|
||||
to_chat(src, "<span class='userdanger'>NOTICE: EMP detected, systems damaged!</span>")
|
||||
|
||||
@@ -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 ..()
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user