Files
VOREStation/code/modules/mob/living/death.dm
Spades 58e4a98a94 Breaks a Vorestation Edit in death.dm
Nobody wants to help me fix these things so I'm just going to break them
and see what happens.
2019-01-05 16:35:07 -05:00

15 lines
341 B
Plaintext

/mob/living/death()
clear_fullscreens()
if(ai_holder)
ai_holder.go_sleep()
if(nest) //Ew.
if(istype(nest, /obj/structure/prop/nest))
var/obj/structure/prop/nest/N = nest
N.remove_creature(src)
if(istype(nest, /obj/structure/blob/factory))
var/obj/structure/blob/factory/F = nest
F.spores -= src
nest = null
. = ..()