fixes xeno headslugging not working (#23317)

* fixes xeno headslugging not working

* tweak

Honestly I think the logic behind this is super fucking questionable, so have fun changing this back in like five years me

* Update code/modules/mob/living/simple_animal/hostile/headslug.dm

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>

* Update code/modules/mob/living/simple_animal/hostile/headslug.dm

---------

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
This commit is contained in:
GDN
2023-11-24 15:55:10 +00:00
committed by GitHub
co-authored by S34N
parent 0100d4c5b2
commit f39d514a07
2 changed files with 8 additions and 7 deletions
+4 -7
View File
@@ -56,17 +56,14 @@
..(holder)
if(!max_damage)
max_damage = min_broken_damage * 2
if(istype(holder))
if(ishuman(holder))
if(holder.dna)
dna = holder.dna.Clone()
if(!blood_DNA)
blood_DNA = list()
blood_DNA[dna.unique_enzymes] = dna.blood_type
else
stack_trace("[holder] spawned without a proper DNA.")
var/mob/living/carbon/human/H = holder
if(istype(H))
if(dna)
if(!blood_DNA)
blood_DNA = list()
blood_DNA[dna.unique_enzymes] = dna.blood_type
else
dna = new /datum/dna(null)
if(species_override)