Fix Sex not showing in character preview panel.

This commit is contained in:
Pieter-Jan Briers
2020-01-18 04:38:56 +01:00
parent e0aaab56e3
commit 4b60c03688

View File

@@ -92,9 +92,8 @@ namespace Content.Client.UserInterface
else
{
_summaryLabel.Text = selectedCharacter.Summary;
_previewDummy
.GetComponent<HumanoidAppearanceComponent>()
.Appearance = (HumanoidCharacterAppearance) selectedCharacter.CharacterAppearance;
var component = _previewDummy.GetComponent<HumanoidAppearanceComponent>();
component.UpdateFromProfile(selectedCharacter);
}
}
}