Fixes organ damage and pulse (#7521)

Fixes organ damage and pulse
This commit is contained in:
Matt Atlas
2019-11-27 23:15:11 +02:00
committed by Erki
parent 173822fad7
commit f088260110
6 changed files with 50 additions and 7 deletions
@@ -228,7 +228,7 @@
spawn (0)
user.visible_message("<b>[user]</b> checks [src]'s pulse.", "You check [src]'s pulse.")
if (do_mob(user, src, 15))
if(is_pulse_present() == PULSE_NONE)
if(!is_pulse_present())
to_chat(user, "<span class='deadsay'>[T.He] [T.has] no pulse[src.client ? "" : " and [T.his] soul has departed"]...</span>")
else
to_chat(user, "<span class='deadsay'>[T.He] [T.has] a pulse!</span>")