mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user