mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(glue): free existing component in CCharacterCreation::CreateComponent
This commit is contained in:
parent
1cba1cc66d
commit
0f1419461e
@ -61,7 +61,7 @@ void CCharacterCreation::CreateComponent(ComponentData* data, bool randomize) {
|
||||
model->DetachFromParent();
|
||||
}
|
||||
|
||||
// TODO CCharacterComponent::FreeComponent(existingComponent);
|
||||
CCharacterComponent::FreeComponent(existingComponent);
|
||||
}
|
||||
|
||||
CCharacterCreation::s_character = CCharacterComponent::AllocComponent();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user