From ccaef08fdc47d223bc5e422b5e80fc8e508d7211 Mon Sep 17 00:00:00 2001 From: CollenN Date: Mon, 7 Jul 2014 14:02:58 -0400 Subject: [PATCH] Moves stuff to New() Alright, I tested it, and this worked, so... --- code/modules/admin/topic.dm | 5 ----- code/modules/mob/living/carbon/human/human.dm | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index 858392f1c8a..25510344edc 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -1540,11 +1540,6 @@ if(istype(O,/mob)) var/mob/M = O M.real_name = obj_name - if(ishuman(O)) - var/mob/living/carbon/human/H = O - create_dna(H) - ready_dna(H) - randomize_human(H) if (number == 1) log_admin("[key_name(usr)] created a [english_list(paths)]") diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 5be97835908..07b11b9e08b 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -30,6 +30,11 @@ for(var/i=0;i<7;i++) // 2 for medHUDs and 5 for secHUDs hud_list += image('icons/mob/hud.dmi', src, "hudunknown") + // for spawned humans; overwritten by other code + create_dna(src) + ready_dna(src) + randomize_human(src) + ..() /mob/living/carbon/human/Destroy()