From 54c44d298398d6a77829a397eebf0b0624c7b70f Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Tue, 12 Jan 2021 14:42:07 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A4=A7=E9=97=B9=E5=A4=A9=E5=AE=AB?= =?UTF-8?q?=E3=80=91=E5=B7=B2=E9=80=9A=E5=85=B3=E8=AF=95=E7=82=BC=E8=8A=82?= =?UTF-8?q?=E7=82=B9=EF=BC=8C=E5=B0=8F=E4=BA=BA=E6=B2=A1=E5=BE=80=E5=89=8D?= =?UTF-8?q?=E8=B5=B0=EF=BC=8C=E6=88=96=E8=80=85=E6=8C=91=E6=88=98=E8=B4=AA?= =?UTF-8?q?=E5=A9=AA=E8=8A=82=E7=82=B9=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Popup/BattleFailPopup.lua | 5 ++++- .../ManagedResources/~Lua/Modules/Popup/BattleWinPopup.lua | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/BattleFailPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/BattleFailPopup.lua index 1c94eb2643..82d7bd391b 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/BattleFailPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/BattleFailPopup.lua @@ -143,7 +143,10 @@ function this.ShowBattleResultByExpedition() if not isBackBattle then local GetCurNodeInfo = ExpeditionManager.curAttackNodeInfo if GetCurNodeInfo.type == ExpeditionNodeType.Greed then--贪婪节点 - Game.GlobalEvent:DispatchEvent(GameEvent.Expedition.RefreshMainPanel)--刷新界面 + Timer.New(function () + Game.GlobalEvent:DispatchEvent(GameEvent.Expedition.RefreshPlayAniMainPanel) + -- Game.GlobalEvent:DispatchEvent(GameEvent.Expedition.RefreshMainPanel)--刷新界面 + end,0.3):Start() PopupTipPanel.ShowTip( Language[12194]) else MsgPanel.ShowTwo(Language[11540], function() diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/BattleWinPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/BattleWinPopup.lua index fb22c50651..97663d7b93 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/BattleWinPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/BattleWinPopup.lua @@ -220,6 +220,7 @@ function this.ShowBattleResultByExpedition(drop) m_battlePanel:ClosePanel() end PopupTipPanel.ShowTip(Language[12192]) + Game.GlobalEvent:DispatchEvent(GameEvent.Expedition.RefreshPlayAniMainPanel) else UIManager.OpenPanel(UIName.RewardItemPopup,drop, 1,function(isBackBattle)--isBackBattle true时 为回放不走回调 LogPink("isBackBattle "..tostring(isBackBattle))