/mob/living/carbon/proc/updateappearance(icon_update=1, mutcolor_update=0, mutations_overlay_update=0)
if(!has_dna())
return
gender = (deconstruct_block(getblock(dna.uni_identity, DNA_GENDER_BLOCK), 2)-1) ? FEMALE : MALE
/mob/proc/update_body()
if(istype(src,/mob/living/carbon))
src.updateappearance()
Problem description: I'm getting an undefined proc error. The one listed above is the proc, while the one below is the one with the error.
The solution here is to either cast src to a /mob/living/carbon, or to preferably override update_body() under /mob/living/carbon, like so:
This lets you avoid istype(), which is nice.