From 7514dbcbb81bcbf8a517d14b0e4ddcf12c27457e Mon Sep 17 00:00:00 2001 From: yyl <yyl> Date: 星期一, 11 八月 2025 17:26:09 +0800 Subject: [PATCH] 125 【战斗】战斗系统 战斗系统更新 --- Main/System/Battle/BattleObject/BattleObjMgr.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Main/System/Battle/BattleObject/BattleObjMgr.cs b/Main/System/Battle/BattleObject/BattleObjMgr.cs index 3c8cd0e..fccf934 100644 --- a/Main/System/Battle/BattleObject/BattleObjMgr.cs +++ b/Main/System/Battle/BattleObject/BattleObjMgr.cs @@ -42,7 +42,7 @@ for (int i = 0; i < teamBase.serverHeroes.Length; i++) { TeamHero teamHero = teamBase.serverHeroes[i]; - if (teamHero != null && teamHero.heroId > 0) + if (teamHero != null) { BattleObject battleObj = BattleObjectFactory.CreateBattleObject(battleField, posNodeList, teamHero, _Camp); allBattleObjDict.Add(battleObj.ObjID, battleObj); -- Gitblit v1.8.0