Fixes IB being applied to species who cannot bleed (#18816)

This commit is contained in:
Luc
2022-08-15 16:11:48 +01:00
committed by GitHub
parent 0aceeea44e
commit 98a143afb6
@@ -655,7 +655,7 @@ Note that amputating the affected organ does in fact remove the infection from t
/obj/item/organ/external/proc/cause_internal_bleeding()
if(is_robotic())
return
if(HAS_TRAIT(owner, NO_BLOOD))
if(NO_BLOOD in owner.dna.species.species_traits)
return
status |= ORGAN_INT_BLEEDING
owner.custom_pain("You feel something rip in your [name]!")