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

This commit is contained in:
fallenoak committed 2025-12-29 14:56:32 -06:00
1 parent 0bf3eea817
commit 93a2131a6b
1 file changed
+1 -1
+1 -1
View File
@@ -134,7 +134,7 @@ void CCharacterCreation::ResetCharCustomizeInfo() {
model->DetachAllChildrenById(0);
}
ComponentData data;
ComponentData data = {};
CCharacterCreation::GetRandomRaceAndSex(&data);
CCharacterCreation::CalcClasses(data.raceID);