修复战斗最后一回合结束还会再打一次的问题

dev_chengFeng
gaoxin 2020-08-26 18:33:47 +08:00
parent 093c6d1f41
commit e834044de0
1 changed files with 6 additions and 0 deletions

View File

@ -185,6 +185,12 @@ function BattleLogic.TurnRound(debugTurn)
CurCamp = (CurCamp + 1) % 2 CurCamp = (CurCamp + 1) % 2
end end
-- 这里再检测一次战斗结束
if CurRound > MaxRound then
return
end
LogGreen(Language[10229]..CurCamp) LogGreen(Language[10229]..CurCamp)
-- --
BattleLogManager.Log( BattleLogManager.Log(