Fixes hair not changing on protean transformation (#5837)

This commit is contained in:
The Sharkening
2026-06-25 13:17:21 -06:00
committed by GitHub
parent c5489602f8
commit ef92dbcee3
3 changed files with 30 additions and 21 deletions
@@ -462,8 +462,6 @@
var/head_update = FALSE
var/list/new_limbs = list()
var/datum/component/transformation/transform = GetComponent(/datum/component/transformation) // BUBBER EDIT START - Transformation component override.
if(transform)
transform.on_transform_limb_icon(src)
for(var/body_zone, limb_untyped in transform ? transform.dummy.get_bodyparts_by_zones() : get_bodyparts_by_zones()) // BUBBER EDIT END | ORG: for(var/body_zone, limb_untyped in get_bodyparts_by_zones())
var/obj/item/bodypart/limb = limb_untyped
var/obj/item/bodypart/stump_limb_check = get_bodypart(body_zone, TRUE) // BUBBER EDIT START