Fixes cloning and DNA change losing genitals. (#2242)

Fixes cloning and DNA change losing genitals.
Any hardsynch to TG removes this, because I can't freaking do the
complicated multiple-of-same-proc thing that the TG head-coders know...
This commit is contained in:
ktccd
2017-08-04 17:43:27 +02:00
committed by kevinz000
parent 70826963dd
commit cf39768f25
+5
View File
@@ -29,6 +29,9 @@
destination.dna.temporary_mutations = temporary_mutations.Copy()
if(transfer_SE)
destination.dna.struc_enzymes = struc_enzymes
if(ishuman(destination))
var/mob/living/carbon/human/H = destination
H.give_genitals(TRUE)//This gives the body the genitals of this DNA. Used for any transformations based on DNA
/datum/dna/proc/copy_dna(datum/dna/new_dna)
new_dna.unique_enzymes = unique_enzymes
@@ -247,6 +250,8 @@
dna.struc_enzymes = se
domutcheck()
give_genitals(TRUE)//Give all genitalia that DNA says you should have, remove any pre-existing ones as this is a hardset!
if(mrace || newfeatures || ui)
update_body()
update_hair()