Make character previews not stack trace (#27871)

This commit is contained in:
Charlie Nolan
2025-01-07 12:31:50 -08:00
committed by GitHub
parent cc00b49217
commit a218903eab
4 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -831,7 +831,7 @@
var/coloured_tail
if(current_species)
if(current_species.bodyflags & HAS_ICON_SKIN_TONE) //Handling species-specific icon-based skin tones by flagged race.
var/mob/living/carbon/human/H = new
var/mob/living/carbon/human/fake/H = new
H.dna.species = current_species
H.s_tone = s_tone
H.dna.species.updatespeciescolor(H, 0) //The mob's species wasn't set, so it's almost certainly different than the character's species at the moment. Thus, we need to be owner-insensitive.