Merge pull request #5940 from Citadel-Station-13/upstream-merge-36355

[MIRROR] Fixes chemical implant manual activation oversight
This commit is contained in:
LetterJay
2018-03-14 10:41:46 -05:00
committed by GitHub
@@ -30,8 +30,10 @@
GLOB.tracked_chem_implants -= src
return ..()
/obj/item/implant/chem/trigger(emote, mob/source)
/obj/item/implant/chem/trigger(emote, mob/living/source)
if(emote == "deathgasp")
if(istype(source) && !(source.stat == DEAD))
return
activate(reagents.total_volume)
/obj/item/implant/chem/activate(cause)