From 98fe33d73567f90d0f6b3b62b3e42209d1ce5ede Mon Sep 17 00:00:00 2001 From: mashiyu Date: Thu, 4 Apr 2019 14:36:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=98=E6=96=97=E6=A0=A1=E9=AA=8C=E6=9C=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luafight/Modules/Battle/Logic/BattleLogic.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/luafight/Modules/Battle/Logic/BattleLogic.lua b/luafight/Modules/Battle/Logic/BattleLogic.lua index 8fe676ea0..f61f6755f 100644 --- a/luafight/Modules/Battle/Logic/BattleLogic.lua +++ b/luafight/Modules/Battle/Logic/BattleLogic.lua @@ -403,8 +403,7 @@ function BattleLogic.Update() if BattleLogic.CurOrder == BattleLogic.TotalOrder then BattleLogic.BattleEnd(1) else - BattleLogic.CurOrder = BattleLogic.CurOrder + 1 - BattleLogic.Event:DispatchEvent(BattleEventName.BattleOrderChange, BattleLogic.CurOrder) + BattleLogic.Event:DispatchEvent(BattleEventName.BattleOrderChange, BattleLogic.CurOrder + 1) BattleLogic.StartOrder() end end