소스 검색

对战敌方分数错误

zhaoyang 2 년 전
부모
커밋
7d63b38207
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      GameClient/Assets/Game/HotUpdate/Data/InstanceZonesDataManager.cs

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Data/InstanceZonesDataManager.cs

@@ -125,6 +125,7 @@ namespace GFGGame
             _targetData.cardScore = fightCfg.targetCardScore;
             _targetData.tags = fightCfg.needTagsArr;
             _targetData.skillLvs = new List<int>(fightCfg.targetSkillLvsArr);
+            _targetData.itemScoreList.Clear();
             for (int i = 0; i < fightCfg.targetPartsScoreArr.Length; i++)
             {
                 _targetData.itemScoreList.Add(fightCfg.targetPartsScoreArr[i]);