On_mob_dead!

This commit is contained in:
Fermi
2019-09-19 20:30:35 +01:00
parent 70098f8bc8
commit d2c49d7987
2 changed files with 34 additions and 15 deletions
+7
View File
@@ -33,6 +33,7 @@
if(stat == DEAD)
stop_sound_channel(CHANNEL_HEARTBEAT)
handle_death()
rot()
//Updates the number of stored chemicals for powers
@@ -41,6 +42,12 @@
if(stat != DEAD)
return 1
//Procs called while dead
/mob/living/carbon/handle_death()
for(var/datum/reagents/R in reagents.reagent_list)
if(R.reagentFlag & REAGENT_DEAD_PROCESS)
R.on_mob_dead(src)
///////////////
// BREATHING //
///////////////