mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
Fixes DNA Samplers not checking if target humanoid has DNA (#12757)
This commit is contained in:
committed by
variableundefined
parent
200389a55d
commit
074d7fcada
@@ -110,6 +110,9 @@ var/list/non_simple_animals = typecacheof(list(/mob/living/carbon/human/monkey,/
|
||||
//humans
|
||||
if(ishuman(target))
|
||||
var/mob/living/carbon/human/H = target
|
||||
if(NO_DNA in H.dna.species.species_traits)
|
||||
to_chat(user, "<span class='notice'>This humanoid doesn't have DNA.</span>")
|
||||
return
|
||||
if(dna[H.dna.uni_identity])
|
||||
to_chat(user, "<span class='notice'>Humanoid data already present in local storage.</span>")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user