No more typing indicators while dead

This commit is contained in:
Dip
2020-12-06 13:36:43 -03:00
parent 6cd58a7c28
commit c6e0403c78
3 changed files with 4 additions and 1 deletions
+2
View File
@@ -804,6 +804,8 @@
/mob/living/carbon/update_stat()
if(status_flags & GODMODE)
return
if(stat != CONSCIOUS)
clear_typing_indicator()
if(stat != DEAD)
if(health <= HEALTH_THRESHOLD_DEAD && !HAS_TRAIT(src, TRAIT_NODEATH))
death()
+1
View File
@@ -84,6 +84,7 @@
update_canmove()
med_hud_set_health()
med_hud_set_status()
clear_typing_indicator()
if(!gibbed && !QDELETED(src))
addtimer(CALLBACK(src, .proc/med_hud_set_status), (DEFIB_TIME_LIMIT * 10) + 1)
stop_pulling()