From 8fbfd7ccd1e733d5686418044043aedcef3a5231 Mon Sep 17 00:00:00 2001 From: Rob Nelson Date: Thu, 17 Jul 2014 10:48:43 -0700 Subject: [PATCH] Ready_DNA not called in human new() when humans are spawned. Conflicts: code/modules/mob/living/carbon/human/human.dm --- code/modules/mob/living/carbon/human/human.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index bf4245fbf87..7fa3fb75415 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -58,7 +58,7 @@ h_style = "blue IPC screen" ..(new_loc, "Machine") -/mob/living/carbon/human/New(var/new_loc, var/new_species = null) +/mob/living/carbon/human/New(var/new_loc, var/new_species = null, var/delay_ready_dna=0) if(!species) if(new_species) set_species(new_species,null,1) @@ -97,6 +97,9 @@ prev_gender = gender // Debug for plural genders make_blood() + // Set up DNA. + if(!delay_ready_dna) + dna.ready_dna(src) /mob/living/carbon/human/Bump(atom/movable/AM as mob|obj, yes) if ((!( yes ) || now_pushing))