mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
odd but the dna.clone() var seems to not copy digitigrade, ONLY in the context of /obj/machinery/clonepod/transhuman/proc/growclone
11 lines
564 B
Plaintext
11 lines
564 B
Plaintext
/obj/machinery/clonepod/transhuman/growclone(var/datum/transhuman/body_record/current_project)
|
|
. = ..()
|
|
//Extra clonepod behavior
|
|
var/mob/living/carbon/human/H = occupant
|
|
var/datum/dna2/record/R = current_project.mydna
|
|
|
|
H.digitigrade = R.dna.digitigrade // ensure clone mob has digitigrade var set appropriately
|
|
if(H.dna.digitigrade <> R.dna.digitigrade)
|
|
H.dna.digitigrade = R.dna.digitigrade // ensure cloned DNA is set appropriately from record??? for some reason it doesn't get set right despite the override to datum/dna/Clone()
|
|
|
|
H.update_icons_body() |