fixes xeno species bleeding

This commit is contained in:
TalkingCactus
2016-08-23 20:25:04 -04:00
parent 101699b7b7
commit 9377971623
2 changed files with 6 additions and 4 deletions
+3 -3
View File
@@ -230,7 +230,7 @@
// Only a certain number of drips (or one large splatter) can be on a given turf.
if(ishuman(src))
var/mob/living/carbon/human/H = src
if(H.dna.species == "xeno")
if(H.dna.species.id == "xeno")
var/obj/effect/decal/cleanable/xdrip/xdrop = locate() in T
if(xdrop)
if(xdrop.drips < 3)
@@ -240,7 +240,7 @@
return
else
temp_blood_DNA = list()
temp_blood_DNA |= xdrop.blood_DNA.Copy() //we transfer the dna from the drip to the splatter
temp_blood_DNA |= xdrop.blood_DNA.Copy()
qdel(xdrop)//the drip is replaced by a bigger splatter
else
xdrop = new(T)
@@ -268,7 +268,7 @@
if(!B)
if(ishuman(src))
var/mob/living/carbon/human/H = src
if(H.dna.species == "xeno")
if(H.dna.species.id == "xeno")
B = new /obj/effect/decal/cleanable/xenoblood(T)
else
B = new /obj/effect/decal/cleanable/blood/splatter(T)