From 6aacffb9396afc041fb1e944cf188cc287eff320 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期二, 29 七月 2025 20:22:26 +0800 Subject: [PATCH] 0312 还原误提交部分 --- Main/System/Team/TeamManager.cs | 12 +++--------- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Main/System/Team/TeamManager.cs b/Main/System/Team/TeamManager.cs index 15434cd..6557b47 100644 --- a/Main/System/Team/TeamManager.cs +++ b/Main/System/Team/TeamManager.cs @@ -34,11 +34,6 @@ { // 鑻遍泟褰撳墠鎵�鏈夊湪鐨勯槦浼� List<int> heroTeams = heroInfo.itemHero.GetUseData(81); - if (heroTeams == null || heroTeams.Count == 0) - { - return; - } - // 褰撳墠鑻遍泟鎵�鍦ㄧ殑闃熶紞淇℃伅 <闃熶紞绫诲瀷, <闃熷舰, 浣嶇疆>> Dictionary<TeamType, KeyValuePair<int, int>> teamTypeShapeTypePositionDict = new Dictionary<TeamType, KeyValuePair<int, int>>(); @@ -155,10 +150,9 @@ if (!teamDict.TryGetValue(teamType, out team)) { - // 娴嬭瘯鐢� - // team = new TeamBase(teamType); - // team.CreateDefault(HeroManager.Instance.GetPowerfulHeroList()); - // teamDict.Add(teamType, team); + team = new TeamBase(teamType); + team.CreateDefault(HeroManager.Instance.GetPowerfulHeroList()); + teamDict.Add(teamType, team); } return team; -- Gitblit v1.8.0