From a24e64ba74bcbde1d6b1224c6af6e4b9f6ac8fcc Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Mon, 28 Aug 2023 14:50:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=80=E4=B8=8B=E5=A1=AB?= =?UTF-8?q?=E5=85=85=E5=92=8C=E6=A0=BC=E5=AD=90=E6=95=88=E6=9E=9C=E7=9A=84?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/module/battle/controller/battle_base_controller.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/app/module/battle/controller/battle_base_controller.lua b/lua/app/module/battle/controller/battle_base_controller.lua index 6c352df7..054570b2 100644 --- a/lua/app/module/battle/controller/battle_base_controller.lua +++ b/lua/app/module/battle/controller/battle_base_controller.lua @@ -968,7 +968,6 @@ function BattleBaseController:enterRoundBegin() self.needWaitingBoardOver = nil self.waveRoundCount[self.waveIndex] = (self.waveRoundCount[self.waveIndex] or 0) + 1 self.battleUI:enterShowBoardAni(function() - self:takeGridEffect() self:enterEliminationBegin() end) table.clear(self.lastRoundBreakedGridType) @@ -1015,7 +1014,9 @@ end function BattleBaseController:enterEliminationBegin() self.roundStep = BattleConst.BATTLE_ROUND_STEP.ON_BEGIN - self:enterRefreshBoard(true) + self:enterRefreshBoard(true, function() + self:takeGridEffect() + end) end function BattleBaseController:enterElimination(needDelay)