From 6c680d18c36bea658ffbf7b361a6a60e67ce5b59 Mon Sep 17 00:00:00 2001 From: Neocloudy <88008002+Neocloudy@users.noreply.github.com> Date: Sat, 11 Apr 2026 11:42:04 -0500 Subject: [PATCH] DNA mob height doesn't instantly fall back to `HUMAN_HEIGHT_MEDIUM` (#95732) ## About The Pull Request image This tries to `Find` with a string of a mob's base height, which obviously doesn't work because this is a list of numbers and not strings of numbers, so it falls back to `Find` with the `HUMAN_HEIGHT_MEDIUM` define, a number, anyway. Why? Might or might not be an achievable bug in game, but it being written like this doesn't seem intended. --- code/datums/dna/blocks/dna_identity_block.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/dna/blocks/dna_identity_block.dm b/code/datums/dna/blocks/dna_identity_block.dm index 4da3bdf5f25..90f35377979 100644 --- a/code/datums/dna/blocks/dna_identity_block.dm +++ b/code/datums/dna/blocks/dna_identity_block.dm @@ -142,7 +142,7 @@ /datum/dna_block/identity/height/create_unique_block(mob/living/carbon/human/target) var/max_height_index = length(dna_heights) - var/mob_height_index = dna_heights.Find("[target.get_base_mob_height()]") || dna_heights.Find(HUMAN_HEIGHT_MEDIUM) + var/mob_height_index = dna_heights.Find(target.get_base_mob_height()) || dna_heights.Find(HUMAN_HEIGHT_MEDIUM) return construct_block(mob_height_index, max_height_index, block_length) /datum/dna_block/identity/height/apply_to_mob(mob/living/carbon/human/target, dna_hash)