|
@@ -86,9 +86,9 @@ namespace GFGGame
|
|
|
roleInfo.headId = RoleDataManager.headId;
|
|
|
|
|
|
// ArenaDataManager.Instance.Clear();
|
|
|
- for (int i = 0; i < response.DressupList.Count; i++)
|
|
|
+ for (int i = 0; i < response.ThemeList.Count; i++)
|
|
|
{
|
|
|
- FightData roleData = GetFightRoleData(response.DressupList[i], roleInfo, i);
|
|
|
+ FightData roleData = GetFightRoleData(response.DressupList.Count <= i ? null : response.DressupList[i], roleInfo, i);
|
|
|
|
|
|
FightDataManager.Instance.SetItemScoreList(roleData);
|
|
|
ScoreSystemData.Instance.SetEquipScoresWithPartId(roleData);
|