life updates to make stasis work

This commit is contained in:
shellspeed1
2019-09-27 15:43:57 -07:00
parent 2292c9ceaa
commit 0dd578b08a
+10 -9
View File
@@ -28,21 +28,22 @@
if (QDELETED(src))
return 0
if(.) //not dead
handle_active_genes()
if(!IsInStasis())
if(.) //not dead
handle_active_genes()
if(stat != DEAD)
//heart attack stuff
handle_heart()
if(stat != DEAD)
//heart attack stuff
handle_heart()
if(stat != DEAD)
//Stuff jammed in your limbs hurts
handle_embedded_objects()
if(stat != DEAD)
//Stuff jammed in your limbs hurts
handle_embedded_objects()
dna.species.spec_life(src) // for mutantraces
//Update our name based on whether our face is obscured/disfigured
name = get_visible_name()
dna.species.spec_life(src) // for mutantraces
if(stat != DEAD)
return 1