From 04ffe31b6a2b2fbcfecc83abb44a8aa233f2e53f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 02 二月 2026 18:45:57 +0800
Subject: [PATCH] 54 【淘金】切后台淘金完成 时间显示负数

---
 Main/System/HeroUI/HeroTrainWin.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Main/System/HeroUI/HeroTrainWin.cs b/Main/System/HeroUI/HeroTrainWin.cs
index 05880ba..07fd7f1 100644
--- a/Main/System/HeroUI/HeroTrainWin.cs
+++ b/Main/System/HeroUI/HeroTrainWin.cs
@@ -353,6 +353,7 @@
             return;
         }
         RefreshAttr();
+        heroLVBreakCell.RefreshLV(hero);
     }
 
     void RefreshHeroEvent(HeroInfo hero)
@@ -420,7 +421,7 @@
 
     bool CanDelete()
     {
-        if (hero.isAttrActive)
+        if (hero.isActive)
             return false;
 
         return HeroUIManager.Instance.IsTheSameHeroFullStar(hero.heroId);
@@ -823,9 +824,9 @@
         }
     }
 
-    void TeamPosChangeEvent(TeamType teamType)
+    void TeamPosChangeEvent(int teamType)
     {
-        if (teamType != TeamType.Story)
+        if (teamType != TeamManager.Instance.GetMainTeamID())
             return;
         fightPowerText.text = UIHelper.ReplaceLargeArtNum(hero.CalculateFightPower());
     }
@@ -895,7 +896,7 @@
         }
 
 
-        if (!hero.IsInTeamByTeamType(TeamType.Story))
+        if (!hero.IsInTeamByTeamType(BattlePreSetType.Story))
         {
             return;
         }

--
Gitblit v1.8.0