diff --git a/code/datums/dna.dm b/code/datums/dna.dm index a034cf2c58c..b554b4141e6 100644 --- a/code/datums/dna.dm +++ b/code/datums/dna.dm @@ -231,9 +231,15 @@ update_instability(FALSE) return -/datum/dna/proc/is_same_as(datum/dna/D) - if(uni_identity == D.uni_identity && mutation_index == D.mutation_index && real_name == D.real_name) - if(species.type == D.species.type && features == D.features && blood_type == D.blood_type) +/** + * Checks if two DNAs are practically the same by comparing their most defining features + * + * Arguments: + * * target_dna The DNA that we are comparing to + */ +/datum/dna/proc/is_same_as(datum/dna/target_dna) + if(uni_identity == target_dna.uni_identity && mutation_index == target_dna.mutation_index && real_name == target_dna.real_name) + if(species.type == target_dna.species.type && compare_list(features, target_dna.features) && blood_type == target_dna.blood_type) return TRUE return FALSE