Merge pull request #8419 from Tayyyyyyy/ipc_vomit

Fix IPCs vomiting on rotting bodies
This commit is contained in:
tigercat2000
2017-12-03 13:54:39 -08:00
committed by GitHub
+1 -1
View File
@@ -977,7 +977,7 @@
var/obj/item/clothing/mask/M = H.wear_mask
if(M && (M.flags_cover & MASKCOVERSMOUTH))
return
if(NO_BREATHE in species.species_traits)
if(NO_BREATHE in H.species.species_traits)
return //no puking if you can't smell!
// Humans can lack a mind datum, y'know
if(H.mind && (H.mind.assigned_role == "Detective" || H.mind.assigned_role == "Coroner"))