hch
10 小时以前 929cd961a7ffea5d346b3941931bf2662e3bb227
0312 修复一键布阵因锁位置产生的bug
1个文件已修改
4 ■■■ 已修改文件
Main/System/HeroUI/HeroUIManager.OnTeam.cs 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/HeroUI/HeroUIManager.OnTeam.cs
@@ -297,9 +297,11 @@
        //推荐最多6个,存在相同heroid,则跳过
        List<string> selectHeroList = new List<string>();
        List<int> selectHeroIDList = new List<int>();
        int maxCnt = TeamConst.MaxTeamHeroCount - lockIndexList.Count;
        for (int i = 0; i < tmpList.Count; i++)
        {
            if (selectHeroList.Count >= TeamConst.MaxTeamHeroCount)
            if (selectHeroList.Count >= maxCnt)
                break;
            string guid = tmpList[i];