Merge pull request #700 from ArchieBeepBoop/shrug

Prevents dead people's cybernetic tongues from speaking for them
This commit is contained in:
Dahlular
2020-11-21 22:58:04 -07:00
committed by GitHub
+1 -1
View File
@@ -46,7 +46,7 @@
if ((from.pH > 12.5) || (from.pH < 1.5))
to_chat(src, "<span class='warning'>You taste chemical burns!</span>")
T.applyOrganDamage(5)
if(istype(T, /obj/item/organ/tongue/cybernetic))
if(istype(T, /obj/item/organ/tongue/cybernetic) && T.owner?.stat != DEAD)
to_chat(src, "<span class='notice'>Your tongue moves on it's own in response to the liquid.</span>")
say("The pH is appropriately [round(from.pH, 1)].")
return