Tiny mistake, transforming changeling need the target's name.

This commit is contained in:
phil235
2015-09-22 02:30:35 +02:00
parent 2fd2f96238
commit 87d8d2996a

View File

@@ -405,6 +405,7 @@ var/list/slot2type = list("head" = /obj/item/clothing/head/changeling, "wear_mas
/proc/changeling_transform(var/mob/living/carbon/human/user, var/datum/changelingprofile/chosen_prof)
var/datum/dna/chosen_dna = chosen_prof.dna
user.real_name = chosen_prof.name
chosen_dna.transfer_identity(user, 1)
user.updateappearance(mutcolor_update=1)
user.domutcheck()