From 52ad37eee0a4fa33abf7bbdab34ad82db8b67b4c Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Mon, 13 Dec 2021 16:20:48 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90ID1019400=E3=80=91=20=E3=80=90?= =?UTF-8?q?=E6=9C=88=E5=8D=A1=E3=80=91=E8=B4=AD=E4=B9=B0=E6=8B=9B=E5=8B=9F?= =?UTF-8?q?=E7=A7=98=E5=AE=9D=E5=90=8E=E4=B8=8D=E5=BC=B9=E5=87=BA=E6=BF=80?= =?UTF-8?q?=E6=B4=BB=E6=9C=88=E5=8D=A1=E6=8F=90=E7=A4=BA=EF=BC=8C=E9=A2=86?= =?UTF-8?q?=E5=8F=96=E6=8B=9B=E5=8B=9F=E7=A7=98=E5=AE=9D=E5=A5=96=E5=8A=B1?= =?UTF-8?q?=E6=97=B6=E6=89=8D=E5=BC=B9=E5=87=BA=EF=BC=8C=E5=B9=B6=E4=B8=94?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=B8=8D=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Operating/MonthCardManager.lua | 1 + .../View/GeneralPopup_HeavenUnlockExtraRewardPanel.lua | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Operating/MonthCardManager.lua b/Assets/ManagedResources/~Lua/Modules/Operating/MonthCardManager.lua index 1c84a7f4f6..f4514415ad 100644 --- a/Assets/ManagedResources/~Lua/Modules/Operating/MonthCardManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Operating/MonthCardManager.lua @@ -30,6 +30,7 @@ function this.UpdateMonthCardData(msg) for i = 1, #msg.monthinfos do if monthCardData[i].endingTime <= 0 then this.showStr = string.format("恭喜您成功激活%s功能,是否立即前往月卡界面领取奖励。", MonthCardText[i])--Language[11384] + break end end monthCardData = {} diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_HeavenUnlockExtraRewardPanel.lua b/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_HeavenUnlockExtraRewardPanel.lua index 2c79d65d1b..dec4ee00af 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_HeavenUnlockExtraRewardPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_HeavenUnlockExtraRewardPanel.lua @@ -150,12 +150,9 @@ function this:RechargeSuccessFunc() Game.GlobalEvent:DispatchEvent(GameEvent.EndLess.RechargeQinglongSerectSuccess,false,false) elseif curType == 4 then Game.GlobalEvent:DispatchEvent(GameEvent.SerectTreasure.RechargeSuccess,false,false) - elseif curType == 5 then - Game.GlobalEvent:DispatchEvent(GameEvent.TreasureOfHeaven.RechargeSuccess,false,false) - elseif curType == 6 then - Game.GlobalEvent:DispatchEvent(GameEvent.TreasureOfHeaven.RechargeSuccess,false,false) - elseif curType == 7 then + elseif curType == 5 or curType == 6 or curType == 7 then Game.GlobalEvent:DispatchEvent(GameEvent.TreasureOfHeaven.RechargeSuccess,false,false) + MonthCardManager.CheckMonthCardPatFace() end parent:ClosePanel() end