Merge pull request #747 from ArchieBeepBoop/typing

No more typing indicators while dead
This commit is contained in:
Dahlular
2020-12-06 13:35:14 -07:00
committed by GitHub
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()