fix(glue): initalize ComponentData in CCharacterCreation::ResetCharCustomizeInfo

This commit is contained in:
fallenoak 2025-12-29 14:56:32 -06:00
parent 0bf3eea817
commit 93a2131a6b
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -134,7 +134,7 @@ void CCharacterCreation::ResetCharCustomizeInfo() {
model->DetachAllChildrenById(0);
}
ComponentData data;
ComponentData data = {};
CCharacterCreation::GetRandomRaceAndSex(&data);
CCharacterCreation::CalcClasses(data.raceID);