Browse Source

修复玩家复活时的一个报错

大爷 1 year ago
parent
commit
59401eb5ca

+ 1 - 0
Unity/Assets/Scripts/Codes/Hotfix/Client/battle/unit/BattleUnit.cs

@@ -198,6 +198,7 @@ public class BattleUnit : BattleObject
         actionChangeHandler.AddListener(UnitActionStatus.BreakShield, (o) => { });
         actionChangeHandler.AddListener(UnitActionStatus.Transport, (o) => { });
         actionChangeHandler.AddListener(UnitActionStatus.Skill, (o) => { });
+        actionChangeHandler.AddListener(UnitActionStatus.Rebirth, (o) => { });
     }
 
 }