feat(glue): free existing component in CCharacterCreation::CreateComponent

This commit is contained in:
fallenoak 2026-01-01 21:40:18 -06:00
parent 1cba1cc66d
commit 0f1419461e
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -61,7 +61,7 @@ void CCharacterCreation::CreateComponent(ComponentData* data, bool randomize) {
model->DetachFromParent(); model->DetachFromParent();
} }
// TODO CCharacterComponent::FreeComponent(existingComponent); CCharacterComponent::FreeComponent(existingComponent);
} }
CCharacterCreation::s_character = CCharacterComponent::AllocComponent(); CCharacterCreation::s_character = CCharacterComponent::AllocComponent();