Fixes heartbeat sounds playing indefinitely in certain cases
This commit is contained in:
@@ -19,6 +19,10 @@
|
||||
/mob/living/carbon/human/death(gibbed)
|
||||
if(stat == DEAD)
|
||||
return
|
||||
stop_sound_channel(CHANNEL_HEARTBEAT)
|
||||
var/obj/item/organ/heart/H = getorganslot("heart")
|
||||
if(H)
|
||||
H.beat = BEAT_NONE
|
||||
|
||||
. = ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user