From bde65d0ecfcb78577b3e5fe2b7250279539a44ae Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Wed, 12 Jan 2022 13:49:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=AE=E7=BD=97=E5=B9=BB=E5=A2=83=E7=B4=AF?= =?UTF-8?q?=E8=AE=A1=E5=A5=96=E5=8A=B1=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Map/MapPanel.lua | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Map/MapPanel.lua b/Assets/ManagedResources/~Lua/Modules/Map/MapPanel.lua index 48f622c63e..e2b3e37313 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/MapPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/MapPanel.lua @@ -103,14 +103,22 @@ end function this:BindEvent() Util.AddClick(this.BtnBack, function() NetManager.RequestTrialReward(function(msg) - if msg.drop and #msg.drop.itemlist > 0 then - UIManager.OpenPanel(UIName.TrialRewardBackPopup,msg.drop,function() + if CarbonManager.difficulty ~= 4 then + if msg.drop and #msg.drop.itemlist > 0 then + UIManager.OpenPanel(UIName.TrialRewardBackPopup,msg.drop,function() + if ctrlView.GetCallListCount() > 1 then + PopupTipPanel.ShowTip(Language[11258]) + return + end + this.SetEndlessShow() + end) + else if ctrlView.GetCallListCount() > 1 then PopupTipPanel.ShowTip(Language[11258]) return end this.SetEndlessShow() - end) + end else if ctrlView.GetCallListCount() > 1 then PopupTipPanel.ShowTip(Language[11258])