Fixes Some Diseases Not GCing (#7290)

* Fixes Some Diseases No GCing

* fix this too

* derp, I'm just an idiot

* but we can do this...
This commit is contained in:
Fox McCloud
2017-05-13 02:21:22 -04:00
committed by Crazy Lemon
parent f9a882ca68
commit 862a353d46
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -2,13 +2,11 @@
mob_list -= src
dead_mob_list -= src
living_mob_list -= src
qdel(hud_used)
hud_used = null
QDEL_NULL(hud_used)
if(mind && mind.current == src)
spellremove(src)
mobspellremove(src)
for(var/infection in viruses)
qdel(infection)
QDEL_LIST(viruses)
ghostize()
for(var/mob/dead/observer/M in following_mobs)
M.following = null